Spaces:
Runtime error
Runtime error
rename block to demo
Browse files
app.py
CHANGED
|
@@ -312,8 +312,8 @@ custom_css = """
|
|
| 312 |
}
|
| 313 |
"""
|
| 314 |
|
| 315 |
-
|
| 316 |
-
with
|
| 317 |
with gr.Row():
|
| 318 |
gr.Markdown(
|
| 319 |
f"""
|
|
@@ -415,18 +415,4 @@ We chose these benchmarks as they test a variety of reasoning and general knowle
|
|
| 415 |
],
|
| 416 |
submission_result,
|
| 417 |
)
|
| 418 |
-
|
| 419 |
-
|
| 420 |
-
|
| 421 |
-
|
| 422 |
-
block.load(
|
| 423 |
-
refresh,
|
| 424 |
-
inputs=[],
|
| 425 |
-
outputs=[
|
| 426 |
-
leaderboard_table,
|
| 427 |
-
finished_eval_table,
|
| 428 |
-
running_eval_table,
|
| 429 |
-
pending_eval_table,
|
| 430 |
-
],
|
| 431 |
-
)
|
| 432 |
-
block.launch()
|
|
|
|
| 312 |
}
|
| 313 |
"""
|
| 314 |
|
| 315 |
+
demo = gr.Blocks(css=custom_css)
|
| 316 |
+
with demo:
|
| 317 |
with gr.Row():
|
| 318 |
gr.Markdown(
|
| 319 |
f"""
|
|
|
|
| 415 |
],
|
| 416 |
submission_result,
|
| 417 |
)
|
| 418 |
+
demo.launch()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|