Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ def search(q,rn):
|
|
| 44 |
html+=f"<div style='color:white;'>{c['summary']}</div>"
|
| 45 |
html+=f"<div><a href='{pdflink}' target='_blank'>{pdflink}</a></div>"
|
| 46 |
html+="</div>"
|
| 47 |
-
html+=f"""<div id=frame{i} class='frame_class'><iframe src="https://docs.google.com/viewer?url={c['id'].replace('/abs/','/pdf/')}&embedded=true" frameborder="0" height="1200px" width="100%"></iframe>"""
|
| 48 |
return(json.dumps(cont,indent=4)),html
|
| 49 |
with gr.Blocks(css=style,head=head) as b:
|
| 50 |
with gr.Group():
|
|
|
|
| 44 |
html+=f"<div style='color:white;'>{c['summary']}</div>"
|
| 45 |
html+=f"<div><a href='{pdflink}' target='_blank'>{pdflink}</a></div>"
|
| 46 |
html+="</div>"
|
| 47 |
+
html+=f"""<div id=frame{i} class='frame_class'><iframe src="https://docs.google.com/viewer?url={c['id'].replace('/abs/','/pdf/')}&embedded=true" frameborder="0" height="1200px" width="100%"></iframe></div>"""
|
| 48 |
return(json.dumps(cont,indent=4)),html
|
| 49 |
with gr.Blocks(css=style,head=head) as b:
|
| 50 |
with gr.Group():
|