Spaces:
Sleeping
Sleeping
Fernando Knüttel commited on
Commit ·
ecd844d
1
Parent(s): 933330c
new variables
Browse files- src/streamlit_app.py +4 -0
src/streamlit_app.py
CHANGED
|
@@ -3,6 +3,10 @@ import requests
|
|
| 3 |
|
| 4 |
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
| 5 |
os.environ["STREAMLIT_HOME"] = "/tmp/streamlit"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
os.makedirs("/tmp/streamlit", exist_ok=True)
|
| 7 |
|
| 8 |
API_URL = "https://voramen-nachamen--chatbot-fernando-chatbot-fernando.modal.run"
|
|
|
|
| 3 |
|
| 4 |
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
| 5 |
os.environ["STREAMLIT_HOME"] = "/tmp/streamlit"
|
| 6 |
+
os.environ["STREAMLIT_CONFIG_DIR"] = "/tmp/streamlit"
|
| 7 |
+
os.environ["STREAMLIT_RUNTIME_DIR"] = "/tmp/streamlit"
|
| 8 |
+
os.environ["STREAMLIT_BROWSER_GATHERUSAGESTATS"] = "false"
|
| 9 |
+
|
| 10 |
os.makedirs("/tmp/streamlit", exist_ok=True)
|
| 11 |
|
| 12 |
API_URL = "https://voramen-nachamen--chatbot-fernando-chatbot-fernando.modal.run"
|