Spaces:
Sleeping
Sleeping
kz209
commited on
Commit
•
9e26af4
1
Parent(s):
a797164
update
Browse files- pages/arena.py +1 -0
pages/arena.py
CHANGED
@@ -75,6 +75,7 @@ Once the streaming is complete, you can choose the best response.\u2764\ufe0f"""
|
|
75 |
|
76 |
submit_button.click(fn=lock_selection, inputs=choice, outputs=[output, output, choice, submit_button])
|
77 |
|
|
|
78 |
if global_selected_choice == "Response 1":
|
79 |
prompt_id = random_selected_prompts[0]
|
80 |
elif global_selected_choice == "Response 2":
|
|
|
75 |
|
76 |
submit_button.click(fn=lock_selection, inputs=choice, outputs=[output, output, choice, submit_button])
|
77 |
|
78 |
+
global global_selected_choice
|
79 |
if global_selected_choice == "Response 1":
|
80 |
prompt_id = random_selected_prompts[0]
|
81 |
elif global_selected_choice == "Response 2":
|