Spaces:
Build error
Build error
Update src/streamlit_app.py
Browse filescorrect CASHE and CONFIG folders
- src/streamlit_app.py +2 -2
src/streamlit_app.py
CHANGED
|
@@ -10,9 +10,9 @@ load_dotenv()
|
|
| 10 |
#openAI
|
| 11 |
# from langchain_openai import AzureChatOpenAI
|
| 12 |
|
| 13 |
-
# Set
|
| 14 |
os.environ["STREAMLIT_CACHE_DIR"] = os.path.join(os.getcwd(), ".streamlit")
|
| 15 |
-
|
| 16 |
|
| 17 |
|
| 18 |
#set env
|
|
|
|
| 10 |
#openAI
|
| 11 |
# from langchain_openai import AzureChatOpenAI
|
| 12 |
|
| 13 |
+
# Set custom cache and config directory for Streamlit to avoid permission issues
|
| 14 |
os.environ["STREAMLIT_CACHE_DIR"] = os.path.join(os.getcwd(), ".streamlit")
|
| 15 |
+
os.environ["STREAMLIT_CONFIG_DIR"] = os.path.join(os.getcwd(), ".streamlit")
|
| 16 |
|
| 17 |
|
| 18 |
#set env
|