mdakhras commited on
Commit
4750b52
·
verified ·
1 Parent(s): 9e338a3

Update src/streamlit_app.py

Browse files

correct CASHE and CONFIG folders

Files changed (1) hide show
  1. 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 the cache directory to a folder inside your project space
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