rwitz commited on
Commit
df177c1
1 Parent(s): ecb6705

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -63,9 +63,9 @@ def clear_chat(state):
63
  selected_adapters = random.sample(adapter_names, 2)
64
  state['last_bots'] = selected_adapters
65
 
66
- # Reset other components
67
  return state, [], [], gr.Button.update(interactive=False), gr.Button.update(interactive=False), gr.Textbox.update(value='', interactive=True), gr.Button.update(interactive=True)
68
-
69
  from datasets import load_dataset,DatasetDict,Dataset
70
  import requests
71
  import os
 
63
  selected_adapters = random.sample(adapter_names, 2)
64
  state['last_bots'] = selected_adapters
65
 
66
+ # Reset other components specific to the "Chatbot Arena" tab
67
  return state, [], [], gr.Button.update(interactive=False), gr.Button.update(interactive=False), gr.Textbox.update(value='', interactive=True), gr.Button.update(interactive=True)
68
+
69
  from datasets import load_dataset,DatasetDict,Dataset
70
  import requests
71
  import os