gagan3012 commited on
Commit
a46e0fb
·
1 Parent(s): 9ff9d6f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -20,11 +20,11 @@ def fetch_bibtex(arxiv_link):
20
  # Get the output
21
  output = result.stdout
22
 
23
- return {"citation": output}
24
 
25
 
26
  interface = gr.Interface(fn=fetch_bibtex,
27
  inputs=gr.Textbox(label="URL"),
28
- outputs="json")
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()