5to9 commited on
Commit
81120ee
β€’
1 Parent(s): 0cc2e26

0.37 Update text

Browse files
Files changed (1) hide show
  1. app.py +9 -2
app.py CHANGED
@@ -181,8 +181,15 @@ def clear():
181
  return [], []
182
 
183
  def reveal_bot(selection, chatbot_a, chatbot_b):
184
- chatbot_a.append(["User", "I am Bot Arno"])
185
- chatbot_b.append(["User", "I am Bot Bernd"])
 
 
 
 
 
 
 
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: