gagan3012 commited on
Commit
2f64665
·
1 Parent(s): 9b3d5c7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -1,5 +1,6 @@
1
  import requests
2
  import re
 
3
 
4
  def fetch_bibtex(arxiv_link):
5
  # Extract the arXiv ID from the link
@@ -9,7 +10,9 @@ def fetch_bibtex(arxiv_link):
9
  # For simplicity, here's a placeholder for the BibTeX entry
10
  bibtex_entry = "Placeholder BibTeX for " + arxiv_id
11
 
12
- return bibtex_entry
 
 
13
 
14
 
15
  import gradio as gr
 
1
  import requests
2
  import re
3
+ from lookup import processCgi
4
 
5
  def fetch_bibtex(arxiv_link):
6
  # Extract the arXiv ID from the link
 
10
  # For simplicity, here's a placeholder for the BibTeX entry
11
  bibtex_entry = "Placeholder BibTeX for " + arxiv_id
12
 
13
+ output = processCgi(arxiv_id)
14
+
15
+ return output
16
 
17
 
18
  import gradio as gr