Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- 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("
|
| 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
|
|
|
|
| 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.")
|