Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|