Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update
Browse files
app.py
CHANGED
@@ -211,6 +211,8 @@ def filter_models(
|
|
211 |
|
212 |
leaderboard_df = filter_models(leaderboard_df, [t.to_str(" : ") for t in ModelType], list(NUMERIC_INTERVALS.keys()), [i.value.name for i in Precision], [i.value.name for i in AddSpecialTokens], [i.value.name for i in NumFewShots], False, False, False)
|
213 |
|
|
|
|
|
214 |
with gr.Blocks() as demo_leaderboard:
|
215 |
with gr.Row():
|
216 |
with gr.Column():
|
@@ -388,6 +390,7 @@ with gr.Blocks() as demo_leaderboard:
|
|
388 |
queue=True,
|
389 |
)
|
390 |
|
|
|
391 |
|
392 |
with gr.Blocks() as demo_submission:
|
393 |
with gr.Column():
|
@@ -495,6 +498,7 @@ with gr.Blocks() as demo_submission:
|
|
495 |
submission_result,
|
496 |
)
|
497 |
|
|
|
498 |
|
499 |
with gr.Blocks(css=custom_css) as demo:
|
500 |
gr.HTML(TITLE)
|
|
|
211 |
|
212 |
leaderboard_df = filter_models(leaderboard_df, [t.to_str(" : ") for t in ModelType], list(NUMERIC_INTERVALS.keys()), [i.value.name for i in Precision], [i.value.name for i in AddSpecialTokens], [i.value.name for i in NumFewShots], False, False, False)
|
213 |
|
214 |
+
# Leaderboard demo
|
215 |
+
|
216 |
with gr.Blocks() as demo_leaderboard:
|
217 |
with gr.Row():
|
218 |
with gr.Column():
|
|
|
390 |
queue=True,
|
391 |
)
|
392 |
|
393 |
+
# Submission demo
|
394 |
|
395 |
with gr.Blocks() as demo_submission:
|
396 |
with gr.Column():
|
|
|
498 |
submission_result,
|
499 |
)
|
500 |
|
501 |
+
# Main demo
|
502 |
|
503 |
with gr.Blocks(css=custom_css) as demo:
|
504 |
gr.HTML(TITLE)
|