awacke1 commited on
Commit
73798f8
1 Parent(s): d3c0813

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -153,6 +153,8 @@ def search_arxiv(query):
153
  st.markdown(result)
154
  arxiv_results = st.text_area("ArXiv Results: ", value=result, height=700)
155
  result = str(result) # cast as string for these - check content length and format if encoding changes..
 
 
156
  SpeechSynthesis(result) # Search History Reader / Writer IO Memory - Audio at Same time as Reading.
157
  filename=generate_filename(result, "md")
158
  base_filename, ext = os.path.splitext(filename)
 
153
  st.markdown(result)
154
  arxiv_results = st.text_area("ArXiv Results: ", value=result, height=700)
155
  result = str(result) # cast as string for these - check content length and format if encoding changes..
156
+
157
+ result=result.replace('\n', ' ')
158
  SpeechSynthesis(result) # Search History Reader / Writer IO Memory - Audio at Same time as Reading.
159
  filename=generate_filename(result, "md")
160
  base_filename, ext = os.path.splitext(filename)