raj-tomar001 commited on
Commit
a8f754b
·
verified ·
1 Parent(s): 169ce83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)