JRQi commited on
Commit
a3e7c17
1 Parent(s): bc75bcf

Update game1.py

Browse files
Files changed (1) hide show
  1. game1.py +1 -0
game1.py CHANGED
@@ -391,6 +391,7 @@ def func1_written(text_written, human_predict, lang_written):
391
  ai_predict += int(random.randint(-1, 1))
392
  while ai_predict > 10 or ai_predict < 0:
393
  ai_predict += int(random.randint(-1, 1))
 
394
  chatbot.append(("AI thinks in a different way from human. 😉", "⬅️ Feel free to try another one! ⬅️"))
395
 
396
  # sentiment_classifier = pipeline("text-classification", return_all_scores=True)
 
391
  ai_predict += int(random.randint(-1, 1))
392
  while ai_predict > 10 or ai_predict < 0:
393
  ai_predict += int(random.randint(-1, 1))
394
+ ai_predict = int(ai_predict)
395
  chatbot.append(("AI thinks in a different way from human. 😉", "⬅️ Feel free to try another one! ⬅️"))
396
 
397
  # sentiment_classifier = pipeline("text-classification", return_all_scores=True)