zliang commited on
Commit
a96314b
1 Parent(s): 57d6439

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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.experimental_rerun()
 
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()