JRQi commited on
Commit
dc44695
β€’
1 Parent(s): 3a10092

Update game1.py

Browse files
Files changed (1) hide show
  1. game1.py +4 -4
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
- gold_label = int(gold_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
- gold_label = int(gold_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,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
- gold_label = int(gold_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,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
- gold_label = int(gold_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
 
 
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