Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -67,11 +67,13 @@ def SpeechSynthesis(result):
|
|
67 |
components.html(documentHTML5, width=1280, height=300)
|
68 |
|
69 |
def parse_to_markdown(text):
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
|
|
|
|
75 |
return markdown
|
76 |
|
77 |
def search_arxiv(query):
|
|
|
67 |
components.html(documentHTML5, width=1280, height=300)
|
68 |
|
69 |
def parse_to_markdown(text):
|
70 |
+
markdown=''
|
71 |
+
if len(text) > 0:
|
72 |
+
fields = text.split("|")
|
73 |
+
markdown = ""
|
74 |
+
for field in fields:
|
75 |
+
field = field.strip(" '")
|
76 |
+
markdown += field + "\n\n"
|
77 |
return markdown
|
78 |
|
79 |
def search_arxiv(query):
|