shanchen commited on
Commit
a9db68e
β€’
1 Parent(s): 41cd8fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -17
app.py CHANGED
@@ -468,23 +468,23 @@ with gr.Blocks(css="custom.css") as demo:
468
  with gr.Accordion(post["title"], open=False):
469
  gr.Markdown(post["content"])
470
 
471
- # with gr.Row():
472
- # with gr.Accordion("πŸ“™ Citation", open=False):
473
- # citation_button = gr.Textbox(
474
- # value="Copy the following snippet to cite these results/works",
475
- # label=r'''
476
- # @misc{gallifant2024language,
477
- # title={Language Models are Surprisingly Fragile to Drug Names in Biomedical Benchmarks},
478
- # author={Jack Gallifant and Shan Chen and Pedro Moreira and Nikolaj Munch and Mingye Gao and Jackson Pond and Leo Anthony Celi and Hugo Aerts and Thomas Hartvigsen and Danielle Bitterman},
479
- # year={2024},
480
- # eprint={2406.12066},
481
- # archivePrefix={arXiv},
482
- # primaryClass={id='cs.CL' full_name='Computation and Language' is_active=True alt_name='cmp-lg' in_archive='cs' is_general=False description='Covers natural language processing. Roughly includes material in ACM Subject Class I.2.7. Note that work on artificial languages (programming languages, logics, formal systems) that does not explicitly address natural-language issues broadly construed (natural-language processing, computational linguistics, speech, text retrieval, etc.) is not appropriate for this area.'}
483
- # }''',
484
- # # lines=20,
485
- # elem_id="citation-button",
486
- # show_copy_button=True,
487
- # )
488
 
489
  with gr.Row():
490
  bar3 = gr.Plot(
 
468
  with gr.Accordion(post["title"], open=False):
469
  gr.Markdown(post["content"])
470
 
471
+ with gr.Row():
472
+ with gr.Accordion("πŸ“™ Citation", open=False):
473
+ citation_button = gr.Textbox(
474
+ value="Copy the following snippet to cite these results/works",
475
+ label=r'''
476
+ @misc{gallifant2024language,
477
+ title={Language Models are Surprisingly Fragile to Drug Names in Biomedical Benchmarks},
478
+ author={Jack Gallifant and Shan Chen and Pedro Moreira and Nikolaj Munch and Mingye Gao and Jackson Pond and Leo Anthony Celi and Hugo Aerts and Thomas Hartvigsen and Danielle Bitterman},
479
+ year={2024},
480
+ eprint={2406.12066},
481
+ archivePrefix={arXiv},
482
+ primaryClass={id='cs.CL' full_name='Computation and Language' is_active=True alt_name='cmp-lg' in_archive='cs' is_general=False description='Covers natural language processing. Roughly includes material in ACM Subject Class I.2.7. Note that work on artificial languages (programming languages, logics, formal systems) that does not explicitly address natural-language issues broadly construed (natural-language processing, computational linguistics, speech, text retrieval, etc.) is not appropriate for this area.'}
483
+ }''',
484
+ # lines=20,
485
+ elem_id="citation-button",
486
+ show_copy_button=True,
487
+ )
488
 
489
  with gr.Row():
490
  bar3 = gr.Plot(