Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -251,7 +251,7 @@ def set_paper(date, paper_title):
|
|
251 |
|
252 |
return (
|
253 |
gr.Markdown(f"# {selected_paper['title']}"),
|
254 |
-
gr.Markdown("[![arXiv](https://img.shields.io/badge/arXiv-
|
255 |
gr.Markdown(selected_paper["summary"]),
|
256 |
|
257 |
gr.Markdown(f"### π {selected_paper['0_question']}"),
|
@@ -373,7 +373,7 @@ with gr.Blocks(css=STYLE, theme=gr.themes.Soft()) as demo:
|
|
373 |
|
374 |
with gr.Column(scale=7):
|
375 |
title = gr.Markdown(f"# {selected_paper['title']}")
|
376 |
-
arxiv_link = gr.Markdown("[![arXiv](https://img.shields.io/badge/arXiv-
|
377 |
summary = gr.Markdown(f"{selected_paper['summary']}", elem_classes=["small-font"])
|
378 |
|
379 |
with gr.Column(elem_id="chat_block", visible=False):
|
|
|
251 |
|
252 |
return (
|
253 |
gr.Markdown(f"# {selected_paper['title']}"),
|
254 |
+
gr.Markdown("[![arXiv](https://img.shields.io/badge/arXiv-%s-b31b1b.svg)](https://arxiv.org/abs/%s)" % (selected_paper['arxiv_id'], selected_paper['arxiv_id'])),
|
255 |
gr.Markdown(selected_paper["summary"]),
|
256 |
|
257 |
gr.Markdown(f"### π {selected_paper['0_question']}"),
|
|
|
373 |
|
374 |
with gr.Column(scale=7):
|
375 |
title = gr.Markdown(f"# {selected_paper['title']}")
|
376 |
+
arxiv_link = gr.Markdown("[![arXiv](https://img.shields.io/badge/arXiv-%s-b31b1b.svg)](https://arxiv.org/abs/%s)" % (selected_paper['arxiv_id'], selected_paper['arxiv_id']))
|
377 |
summary = gr.Markdown(f"{selected_paper['summary']}", elem_classes=["small-font"])
|
378 |
|
379 |
with gr.Column(elem_id="chat_block", visible=False):
|