Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,7 +32,7 @@ def search(q,rn):
|
|
| 32 |
html=""
|
| 33 |
for i,c in enumerate(cont):
|
| 34 |
pdflink=c['id'].replace('/abs/','/pdf/')
|
| 35 |
-
html+=f"""<div class='card_div' id='id{i}' onclick="run({
|
| 36 |
html+=f"<div class='title_div'>{c['title']}</div>"
|
| 37 |
html+=f"<div style='color:white;'>{c['summary']}</div>"
|
| 38 |
html+=f"<div><a href='{pdflink}' target='_blank'>{pdflink}</a></div>"
|
|
|
|
| 32 |
html=""
|
| 33 |
for i,c in enumerate(cont):
|
| 34 |
pdflink=c['id'].replace('/abs/','/pdf/')
|
| 35 |
+
html+=f"""<div class='card_div' id='id{i}' onclick="run({c})">"""
|
| 36 |
html+=f"<div class='title_div'>{c['title']}</div>"
|
| 37 |
html+=f"<div style='color:white;'>{c['summary']}</div>"
|
| 38 |
html+=f"<div><a href='{pdflink}' target='_blank'>{pdflink}</a></div>"
|