soroushsrd commited on
Commit
7521c44
1 Parent(s): e17b9c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -122,10 +122,10 @@ if st.button('Enter'):
122
  else:
123
  st.write("Please enter a question.")
124
 
125
- # Display the answer to the custom question in the main window
126
- if st.session_state.custom_answer:
127
- st.session_state.faq_answer = "" # Clear FAQ answer when a custom question is asked
128
- st.write(st.session_state.custom_answer)
129
 
130
  # Show FAQ questions
131
  faq_expander = st.sidebar.expander("FAQs")
 
122
  else:
123
  st.write("Please enter a question.")
124
 
125
+ # # Display the answer to the custom question in the main window
126
+ # if st.session_state.custom_answer:
127
+ # st.session_state.faq_answer = "" # Clear FAQ answer when a custom question is asked
128
+ # st.write(st.session_state.custom_answer)
129
 
130
  # Show FAQ questions
131
  faq_expander = st.sidebar.expander("FAQs")