Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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)
|