Spaces:
Sleeping
Sleeping
Update game1.py
Browse files
game1.py
CHANGED
|
@@ -176,11 +176,11 @@ def func1(lang_selected, num_selected, human_predict, num1, num2, user_important
|
|
| 176 |
chatbot.append(("The correct answer is " + str(golden_label) + ". Great! π You are closer to the answer and better than AI!", user_select))
|
| 177 |
num1 += 1
|
| 178 |
else:
|
| 179 |
-
|
| 180 |
ai_predict = int(ai_predict)
|
| 181 |
chatbot.append(("The correct answer is " + str(golden_label) + ". Both wrong... Maybe next time you'll win!", user_select))
|
| 182 |
else:
|
| 183 |
-
|
| 184 |
ai_predict = int(ai_predict)
|
| 185 |
chatbot.append(("The correct answer is " + str(golden_label) + ". Sorry.. No one gets the correct answer. But nice try! π", user_select))
|
| 186 |
else:
|
|
@@ -206,7 +206,7 @@ def func1(lang_selected, num_selected, human_predict, num1, num2, user_important
|
|
| 206 |
chatbot.append(("The correct answer is " + str(golden_label) + ". Great! π You are close to the answer and better than AI!", user_select))
|
| 207 |
num1 += 1
|
| 208 |
else:
|
| 209 |
-
|
| 210 |
ai_predict = int(ai_predict)
|
| 211 |
chatbot.append(("The correct answer is " + str(golden_label) + ". Sorry... No one gets the correct answer. But nice try! π", user_select))
|
| 212 |
else:
|
|
@@ -231,7 +231,7 @@ def func1(lang_selected, num_selected, human_predict, num1, num2, user_important
|
|
| 231 |
chatbot.append(("The correct answer is " + str(golden_label) + ". Great! π You are close to the answer and better than AI!", user_select))
|
| 232 |
num1 += 1
|
| 233 |
else:
|
| 234 |
-
|
| 235 |
ai_predict = int(ai_predict)
|
| 236 |
chatbot.append(("The correct answer is " + str(golden_label) + ". Sorry... No one gets the correct answer. But nice try! π", user_select))
|
| 237 |
|
|
|
|
| 176 |
chatbot.append(("The correct answer is " + str(golden_label) + ". Great! π You are closer to the answer and better than AI!", user_select))
|
| 177 |
num1 += 1
|
| 178 |
else:
|
| 179 |
+
golden_label = int(golden_label)
|
| 180 |
ai_predict = int(ai_predict)
|
| 181 |
chatbot.append(("The correct answer is " + str(golden_label) + ". Both wrong... Maybe next time you'll win!", user_select))
|
| 182 |
else:
|
| 183 |
+
golden_label = int(golden_label)
|
| 184 |
ai_predict = int(ai_predict)
|
| 185 |
chatbot.append(("The correct answer is " + str(golden_label) + ". Sorry.. No one gets the correct answer. But nice try! π", user_select))
|
| 186 |
else:
|
|
|
|
| 206 |
chatbot.append(("The correct answer is " + str(golden_label) + ". Great! π You are close to the answer and better than AI!", user_select))
|
| 207 |
num1 += 1
|
| 208 |
else:
|
| 209 |
+
golden_label = int(golden_label)
|
| 210 |
ai_predict = int(ai_predict)
|
| 211 |
chatbot.append(("The correct answer is " + str(golden_label) + ". Sorry... No one gets the correct answer. But nice try! π", user_select))
|
| 212 |
else:
|
|
|
|
| 231 |
chatbot.append(("The correct answer is " + str(golden_label) + ". Great! π You are close to the answer and better than AI!", user_select))
|
| 232 |
num1 += 1
|
| 233 |
else:
|
| 234 |
+
golden_label = int(golden_label)
|
| 235 |
ai_predict = int(ai_predict)
|
| 236 |
chatbot.append(("The correct answer is " + str(golden_label) + ". Sorry... No one gets the correct answer. But nice try! π", user_select))
|
| 237 |
|