EDITH02 commited on
Commit
2feee70
·
verified ·
1 Parent(s): 4eef4d3

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +3 -0
src/streamlit_app.py CHANGED
@@ -16,6 +16,9 @@ try:
16
  except RuntimeError:
17
  asyncio.set_event_loop(asyncio.new_event_loop())
18
 
 
 
 
19
  # ---------------- Streamlit Page Setup ----------------
20
  st.set_page_config(page_title="PDF RAG Chatbot", layout="wide")
21
  st.title("PDF RAG Chatbot with Gemini + LangChain")
 
16
  except RuntimeError:
17
  asyncio.set_event_loop(asyncio.new_event_loop())
18
 
19
+ # Make sure Streamlit writes configs inside the repo, not root
20
+ os.environ["STREAMLIT_HOME"] = os.path.join(os.getcwd(), ".streamlit")
21
+
22
  # ---------------- Streamlit Page Setup ----------------
23
  st.set_page_config(page_title="PDF RAG Chatbot", layout="wide")
24
  st.title("PDF RAG Chatbot with Gemini + LangChain")