SRA25 commited on
Commit
b516392
·
verified ·
1 Parent(s): 41765c6

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +2 -2
src/streamlit_app.py CHANGED
@@ -146,7 +146,7 @@ def refresh_conversations():
146
  # --- 4. Sidebar for Document Upload and Conversation History ---
147
  with st.sidebar:
148
  st.header("Load Documents")
149
- if st.button("Process Documents", key="process_docs_button"):
150
  newmsg, status = upload_documents()
151
  if status:
152
  st.session_state.retriever_ready = True
@@ -263,4 +263,4 @@ if st.session_state.retriever_ready:
263
  else:
264
  st.markdown("An error occurred.")
265
  else:
266
- st.info("Please upload and process documents to start chatting.")
 
146
  # --- 4. Sidebar for Document Upload and Conversation History ---
147
  with st.sidebar:
148
  st.header("Load Documents")
149
+ if st.button("Load Documents", key="process_docs_button"):
150
  newmsg, status = upload_documents()
151
  if status:
152
  st.session_state.retriever_ready = True
 
263
  else:
264
  st.markdown("An error occurred.")
265
  else:
266
+ st.info("Please Click on Load Documents Button to start the chat.")