Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 = "🎉 **
|
| 48 |
elif model > human:
|
| 49 |
-
who = "**
|
| 50 |
else:
|
| 51 |
-
who = "**
|
| 52 |
-
return
|
| 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))
|