chansung commited on
Commit
0232d9f
β€’
1 Parent(s): e45dc88

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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-1234.56789-b31b1b.svg)](https://arxiv.org/abs/%s)" % selected_paper['arxiv_id']),
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-1234.56789-b31b1b.svg)](https://arxiv.org/abs/%s)" % 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):
 
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):