awacke1 commited on
Commit
dd7b6a5
·
verified ·
1 Parent(s): 5695b0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -622,8 +622,8 @@ def search_arxiv(query):
622
  st.write(f"Finish time: {end_time}")
623
  st.write(f"Elapsed time: {elapsed_seconds:.2f} seconds")
624
 
625
- filename = generate_filename(text_input, "md")
626
- create_file(filename, text_input, results, should_save)
627
  st.session_state.messages.append({"role": "assistant", "content": results})
628
 
629
  #filename = generate_filename(query, "md")
 
622
  st.write(f"Finish time: {end_time}")
623
  st.write(f"Elapsed time: {elapsed_seconds:.2f} seconds")
624
 
625
+ filename = generate_filename(query, "md")
626
+ create_file(filename, query, results, should_save)
627
  st.session_state.messages.append({"role": "assistant", "content": results})
628
 
629
  #filename = generate_filename(query, "md")