Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -455,4 +455,4 @@ if uploaded_file:
|
|
455 |
st.session_state['chat_history'].append({"user": user_input, "bot": None})
|
456 |
answer = qa_pdf(file_path, user_input)
|
457 |
st.session_state['chat_history'][-1]["bot"] = answer
|
458 |
-
st.
|
|
|
455 |
st.session_state['chat_history'].append({"user": user_input, "bot": None})
|
456 |
answer = qa_pdf(file_path, user_input)
|
457 |
st.session_state['chat_history'][-1]["bot"] = answer
|
458 |
+
st.rerun()
|