Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
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('
|
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)
|