Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -20,11 +20,11 @@ def fetch_bibtex(arxiv_link):
|
|
| 20 |
# Get the output
|
| 21 |
output = result.stdout
|
| 22 |
|
| 23 |
-
return
|
| 24 |
|
| 25 |
|
| 26 |
interface = gr.Interface(fn=fetch_bibtex,
|
| 27 |
inputs=gr.Textbox(label="URL"),
|
| 28 |
-
outputs="
|
| 29 |
|
| 30 |
interface.launch()
|
|
|
|
| 20 |
# Get the output
|
| 21 |
output = result.stdout
|
| 22 |
|
| 23 |
+
return output
|
| 24 |
|
| 25 |
|
| 26 |
interface = gr.Interface(fn=fetch_bibtex,
|
| 27 |
inputs=gr.Textbox(label="URL"),
|
| 28 |
+
outputs="text")
|
| 29 |
|
| 30 |
interface.launch()
|