Spaces:
Paused
Paused
update
Browse files- app.py +1 -1
- coreservice.py +2 -2
app.py
CHANGED
@@ -40,7 +40,7 @@ def get_paper_from_huggingface(paper_id):
|
|
40 |
try:
|
41 |
url = f"https://huggingface.co/datasets/taesiri/arxiv_db/raw/main/papers/{paper_id}.tex"
|
42 |
response = requests.get(url)
|
43 |
-
response.raise_for_status()
|
44 |
return response.text
|
45 |
except Exception as e:
|
46 |
return None
|
|
|
40 |
try:
|
41 |
url = f"https://huggingface.co/datasets/taesiri/arxiv_db/raw/main/papers/{paper_id}.tex"
|
42 |
response = requests.get(url)
|
43 |
+
response.raise_for_status()
|
44 |
return response.text
|
45 |
except Exception as e:
|
46 |
return None
|
coreservice.py
CHANGED
@@ -7,13 +7,13 @@ contents = "\n".join(
|
|
7 |
|
8 |
ga_script = """
|
9 |
<!-- Google tag (gtag.js) -->
|
10 |
-
<script async src="https://www.googletagmanager.com/gtag/js?id=G-
|
11 |
<script>
|
12 |
window.dataLayer = window.dataLayer || [];
|
13 |
function gtag(){dataLayer.push(arguments);}
|
14 |
gtag('js', new Date());
|
15 |
|
16 |
-
gtag('config', 'G-
|
17 |
</script>
|
18 |
"""
|
19 |
|
|
|
7 |
|
8 |
ga_script = """
|
9 |
<!-- Google tag (gtag.js) -->
|
10 |
+
<script async src="https://www.googletagmanager.com/gtag/js?id=G-C3VH0S3E6G"></script>
|
11 |
<script>
|
12 |
window.dataLayer = window.dataLayer || [];
|
13 |
function gtag(){dataLayer.push(arguments);}
|
14 |
gtag('js', new Date());
|
15 |
|
16 |
+
gtag('config', 'G-C3VH0S3E6G');
|
17 |
</script>
|
18 |
"""
|
19 |
|