Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ def clear_chat(state):
|
|
18 |
random.shuffle(bot_names)
|
19 |
state['last_bots'] = [bot_names[0], bot_names[1]]
|
20 |
# Reset other components
|
21 |
-
return state, None, None, gr.Button.update(interactive=False), gr.Button.update(interactive=False), gr.Textbox.update(interactive=
|
22 |
|
23 |
global_elo_ratings=None
|
24 |
|
|
|
18 |
random.shuffle(bot_names)
|
19 |
state['last_bots'] = [bot_names[0], bot_names[1]]
|
20 |
# Reset other components
|
21 |
+
return state, None, None, gr.Button.update(interactive=False), gr.Button.update(interactive=False), gr.Textbox.update(interactive=True), gr.Button.update(interactive=True)
|
22 |
|
23 |
global_elo_ratings=None
|
24 |
|