Spaces:
Runtime error
Runtime error
Update game1.py
Browse files
game1.py
CHANGED
@@ -364,13 +364,7 @@ def func1_written(text_written, human_predict, lang_written):
|
|
364 |
|
365 |
if abs(ai_predict - human_predict) <= 2:
|
366 |
ai_predict = int(ai_predict)
|
367 |
-
chatbot.append(("AI gives it a close score! 🎉", "⬅️ Feel free to try another one! This time let’s see if you can trick the AI into giving a wrong rating. ⬅️"
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
"))
|
374 |
else:
|
375 |
ai_predict += int(random.randint(-1, 1))
|
376 |
while ai_predict > 10 or ai_predict < 0:
|
|
|
364 |
|
365 |
if abs(ai_predict - human_predict) <= 2:
|
366 |
ai_predict = int(ai_predict)
|
367 |
+
chatbot.append(("AI gives it a close score! 🎉", "⬅️ Feel free to try another one! This time let’s see if you can trick the AI into giving a wrong rating. ⬅️"))
|
|
|
|
|
|
|
|
|
|
|
|
|
368 |
else:
|
369 |
ai_predict += int(random.randint(-1, 1))
|
370 |
while ai_predict > 10 or ai_predict < 0:
|