Add streamlit instructions for running the app locally
Browse files- scripts/Start.py +11 -0
scripts/Start.py
CHANGED
@@ -13,6 +13,17 @@ st.markdown("""
|
|
13 |
Chatbots for aerospace mechanisms symposia, using all available papers published since 2000
|
14 |
* Modular version meant to study retrieval methods
|
15 |
""")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
st.subheader("AMS")
|
17 |
'''
|
18 |
This chatbot will look up from all Aerospace Mechanism Symposia in the following location: https://github.com/dsmueller3760/aerospace_chatbot/tree/main/data/AMS
|
|
|
13 |
Chatbots for aerospace mechanisms symposia, using all available papers published since 2000
|
14 |
* Modular version meant to study retrieval methods
|
15 |
""")
|
16 |
+
st.subheader("AMS")
|
17 |
+
'''
|
18 |
+
It is recommended to run this streamlit app locally for improved performance. The hosted hugging face version is for proof of concept.
|
19 |
+
You must have poetry installed locally to manage depdenencies. To run locally, clone the repository and run the following commands.
|
20 |
+
```poetry config virtualenvs.in-project true
|
21 |
+
```poetry install
|
22 |
+
```source .venv/bin/activate
|
23 |
+
```cd ./scripts
|
24 |
+
```streamlit run Start.py
|
25 |
+
'''
|
26 |
+
|
27 |
st.subheader("AMS")
|
28 |
'''
|
29 |
This chatbot will look up from all Aerospace Mechanism Symposia in the following location: https://github.com/dsmueller3760/aerospace_chatbot/tree/main/data/AMS
|