rwitz commited on
Commit
4df72f2
1 Parent(s): 4db4ec7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=False), gr.Button.update(interactive=False)
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