Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -309,7 +309,7 @@ def beat_the_ai_endpoint():
|
|
309 |
theme = request.form.get('theme')
|
310 |
theme = theme.lower()
|
311 |
|
312 |
-
if score > 100:
|
313 |
return jsonify({"message": "You Won!"}), 200
|
314 |
|
315 |
add_theme_if_not_exists(theme)
|
|
|
309 |
theme = request.form.get('theme')
|
310 |
theme = theme.lower()
|
311 |
|
312 |
+
if int(score) > 100:
|
313 |
return jsonify({"message": "You Won!"}), 200
|
314 |
|
315 |
add_theme_if_not_exists(theme)
|