Update app.py
Browse files
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(
|
626 |
-
create_file(filename,
|
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")
|