victor7246 commited on
Commit
246d445
·
verified ·
1 Parent(s): 5dbdcc3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -124,7 +124,7 @@ if __name__ == '__main__':
124
  if st.button("Reset History"):
125
  st.session_state['questions'] = []
126
 
127
- if question != "":
128
  #q_type = extract_question_type(llm, question)
129
  with st.chat_message("user"):
130
  st.markdown(question)
 
124
  if st.button("Reset History"):
125
  st.session_state['questions'] = []
126
 
127
+ if question is not None and question != "":
128
  #q_type = extract_question_type(llm, question)
129
  with st.chat_message("user"):
130
  st.markdown(question)