Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -110,9 +110,14 @@ def search_arxiv(query):
|
|
| 110 |
llm_model,
|
| 111 |
api_name="/update_with_rag_md"
|
| 112 |
)
|
| 113 |
-
|
|
|
|
| 114 |
arxiv_results = st.text_area("ArXiv Results: ", value=result, height=400)
|
| 115 |
-
st.markdown(result.replace('\n', '
|
|
|
|
|
|
|
|
|
|
|
|
|
| 116 |
|
| 117 |
|
| 118 |
file_type = st.radio("Select Which Type of Memory You Prefer:", ("Semantic", "Episodic"))
|
|
|
|
| 110 |
llm_model,
|
| 111 |
api_name="/update_with_rag_md"
|
| 112 |
)
|
| 113 |
+
|
| 114 |
+
# Show ArXiv Scholary Articles! ----------------*************-------------***************----------------------------------------
|
| 115 |
arxiv_results = st.text_area("ArXiv Results: ", value=result, height=400)
|
| 116 |
+
st.markdown(result.replace('\n', ' '))
|
| 117 |
+
SpeechSynthesis(result) # Search History Reader / Writer IO Memory - Audio at Same time as Reading.
|
| 118 |
+
filename=generate_filename(result, "md")
|
| 119 |
+
create_file(filename, query, result, should_save)
|
| 120 |
+
# Show ArXiv Scholary Articles! ----------------*************-------------***************----------------------------------------
|
| 121 |
|
| 122 |
|
| 123 |
file_type = st.radio("Select Which Type of Memory You Prefer:", ("Semantic", "Episodic"))
|