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