vtrv.vls commited on
Commit
04982e6
·
1 Parent(s): 9810133

Async requests

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -227,9 +227,8 @@ def tab_offline_arena():
227
  # clear the select_tasks
228
  clear_criteria_button.click(lambda: {select_criteria: {"value": [], "__type__": "update"}}, inputs=[], outputs=[select_criteria])
229
 
230
- # with gradio.Blocks():
231
- # model_left.change(clear_chat, [], [msg, chatbot_left])
232
- # model_right.change(clear_chat, [], [msg, chatbot_right])
233
 
234
 
235
  def build_demo():
 
227
  # clear the select_tasks
228
  clear_criteria_button.click(lambda: {select_criteria: {"value": [], "__type__": "update"}}, inputs=[], outputs=[select_criteria])
229
 
230
+ with gradio.Blocks():
231
+ select_tasks.change(lambda: {select_criteria: {"value": [], "__type__": "update"}}, inputs=[], outputs=[select_criteria])
 
232
 
233
 
234
  def build_demo():