Spaces:
Sleeping
Sleeping
0.37 Update text
Browse files
app.py
CHANGED
@@ -181,8 +181,15 @@ def clear():
|
|
181 |
return [], []
|
182 |
|
183 |
def reveal_bot(selection, chatbot_a, chatbot_b):
|
184 |
-
|
185 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
return chatbot_a, chatbot_b
|
187 |
|
188 |
arena_notes = """## Important Notes:
|
|
|
181 |
return [], []
|
182 |
|
183 |
def reveal_bot(selection, chatbot_a, chatbot_b):
|
184 |
+
if selection == "Bot A kicks ass!":
|
185 |
+
chatbot_a.append(["π", f"Thanks, man. I am {model_a_info['name']}"])
|
186 |
+
chatbot_b.append(["π©", f"Pffff β¦ I am {model_b_info['name']}"])
|
187 |
+
elif selection == "Bot B crushes it!":
|
188 |
+
chatbot_a.append(["π€‘", f"Rigged β¦ I am {model_a_info['name']}"])
|
189 |
+
chatbot_b.append(["π₯", f"Well deserved! I am {model_b_info['name']}"])
|
190 |
+
else:
|
191 |
+
chatbot_a.append(["π€", f"Lame β¦ I am {model_a_info['name']}"])
|
192 |
+
chatbot_b.append(["π€", f"Dunno. I am {model_b_info['name']}"])
|
193 |
return chatbot_a, chatbot_b
|
194 |
|
195 |
arena_notes = """## Important Notes:
|