Spaces:
Sleeping
Sleeping
vtrv.vls
commited on
Commit
·
04982e6
1
Parent(s):
9810133
Async requests
Browse files
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 |
-
|
231 |
-
|
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():
|