awacke1 commited on
Commit
9e8c5dc
โ€ข
1 Parent(s): 8f44b45

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -2
app.py CHANGED
@@ -110,9 +110,14 @@ def search_arxiv(query):
110
  llm_model,
111
  api_name="/update_with_rag_md"
112
  )
113
- #st.markdown(result)
 
114
  arxiv_results = st.text_area("ArXiv Results: ", value=result, height=400)
115
- st.markdown(result.replace('\n', '\r\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"))