whispergogogo commited on
Commit
710658f
·
verified ·
1 Parent(s): 18acf19

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -44,12 +44,12 @@ def fmt_round(current_round):
44
 
45
  def final_summary(human, model):
46
  if human > model:
47
- who = "🎉 **Congratulations! You beat the model!**"
48
  elif model > human:
49
- who = "**Model wins! Have another try?**"
50
  else:
51
- who = "**It’s a tie!**"
52
- return f"{who}"
53
 
54
  def emphasize_image_for_answer(path, true_label):
55
  img = Image.open(path).convert("RGB").resize((256, 256))
 
44
 
45
  def final_summary(human, model):
46
  if human > model:
47
+ who = "🎉 **GAME OVER. CONGRATULATIONS! YOU BEAT THE MODEL!**"
48
  elif model > human:
49
+ who = "**GAME OVER. MODEL WINS! HAVE ANOTHER TRY**"
50
  else:
51
+ who = "**GAME OVER. IT'S A TIE!**"
52
+ return who
53
 
54
  def emphasize_image_for_answer(path, true_label):
55
  img = Image.open(path).convert("RGB").resize((256, 256))