SiraH commited on
Commit
b4adf52
1 Parent(s): 0b04ac1

change position clear button

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -285,11 +285,11 @@ def main():
285
  #url_reg = regex_source(url)
286
  st.write(str(count+1)+":", url)
287
 
288
- clear_button = st.button("Start new convo")
289
- if clear_button :
290
- st.session_state.messages = []
291
- qa_chain.memory.chat_memory.clear()
292
-
293
 
294
  if __name__ == '__main__':
295
  main()
 
285
  #url_reg = regex_source(url)
286
  st.write(str(count+1)+":", url)
287
 
288
+ clear_button = st.button("Start new convo")
289
+ if clear_button :
290
+ st.session_state.messages = []
291
+ qa_chain.memory.chat_memory.clear()
292
+
293
 
294
  if __name__ == '__main__':
295
  main()