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