awacke1 commited on
Commit
5f0c312
โ€ข
1 Parent(s): 520d628

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -154,7 +154,7 @@ def search_arxiv(query):
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)
 
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)