Spaces:
Runtime error
Runtime error
fix leaderboard refresh
Browse files
app.py
CHANGED
@@ -314,7 +314,7 @@ with gr.Blocks() as arena:
|
|
314 |
refresh = gr.Button(value="Refresh Leaderboard", variant="secondary").style(full_width=True)
|
315 |
state = gr.State({})
|
316 |
|
317 |
-
refresh.click(fn=refresh_md, inputs=[], outputs=
|
318 |
|
319 |
clear.click(lambda: None, None, chatbot1, queue=False)
|
320 |
clear.click(lambda: None, None, chatbot2, queue=False)
|
|
|
314 |
refresh = gr.Button(value="Refresh Leaderboard", variant="secondary").style(full_width=True)
|
315 |
state = gr.State({})
|
316 |
|
317 |
+
refresh.click(fn=refresh_md, inputs=[], outputs=[leaderboard_markdown])
|
318 |
|
319 |
clear.click(lambda: None, None, chatbot1, queue=False)
|
320 |
clear.click(lambda: None, None, chatbot2, queue=False)
|