Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -467,17 +467,7 @@ with gr.Blocks(css="custom.css") as demo:
|
|
| 467 |
for post in blog_posts:
|
| 468 |
with gr.Accordion(post["title"], open=False):
|
| 469 |
gr.Markdown(post["content"])
|
| 470 |
-
|
| 471 |
-
with gr.Row():
|
| 472 |
-
bar3 = gr.Plot(
|
| 473 |
-
value=create_bar_plot_drugmatchqa(df, "DrugMatchQA", "Which LLMs are best at matching brand names to generic drug names?"),
|
| 474 |
-
elem_id="bar3"
|
| 475 |
-
)
|
| 476 |
-
bar4 = gr.Plot(
|
| 477 |
-
#remove model in model column
|
| 478 |
-
value=create_bar_plot_adjusted(non_random_df, "Average Difference", "Which LLMs are most robust to drug name synonym substitution?"),
|
| 479 |
-
elem_id="bar4"
|
| 480 |
-
)
|
| 481 |
with gr.Row():
|
| 482 |
with gr.Accordion("📙 Citation", open=False):
|
| 483 |
citation_button = gr.Textbox(
|
|
@@ -495,6 +485,18 @@ with gr.Blocks(css="custom.css") as demo:
|
|
| 495 |
elem_id="citation-button",
|
| 496 |
show_copy_button=True,
|
| 497 |
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 498 |
|
| 499 |
|
| 500 |
|
|
|
|
| 467 |
for post in blog_posts:
|
| 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(
|
|
|
|
| 485 |
elem_id="citation-button",
|
| 486 |
show_copy_button=True,
|
| 487 |
)
|
| 488 |
+
|
| 489 |
+
with gr.Row():
|
| 490 |
+
bar3 = gr.Plot(
|
| 491 |
+
value=create_bar_plot_drugmatchqa(df, "DrugMatchQA", "Which LLMs are best at matching brand names to generic drug names?"),
|
| 492 |
+
elem_id="bar3"
|
| 493 |
+
)
|
| 494 |
+
bar4 = gr.Plot(
|
| 495 |
+
#remove model in model column
|
| 496 |
+
value=create_bar_plot_adjusted(non_random_df, "Average Difference", "Which LLMs are most robust to drug name synonym substitution?"),
|
| 497 |
+
elem_id="bar4"
|
| 498 |
+
)
|
| 499 |
+
|
| 500 |
|
| 501 |
|
| 502 |
|