JRQi commited on
Commit
364b55a
β€’
1 Parent(s): 434c239

Update game3.py

Browse files
Files changed (1) hide show
  1. game3.py +5 -2
game3.py CHANGED
@@ -100,8 +100,11 @@ def func3(num_selected, human_predict, num1, num2, user_important):
100
  chatbot.append(("The correct answer is " + str(golden_label) + gender + ". Sorry.. AI wins in this round.", user_select))
101
  num2 += 1
102
 
103
- tot_scores = ''' ### <p style="text-align: center;"> πŸ€– Machine &ensp; ''' + str(int(num2)) + ''' &ensp; VS &ensp; ''' + str(int(num1)) + ''' &ensp; Human πŸ‘¨πŸ‘© </p>'''
104
-
 
 
 
105
  return ai_predict, chatbot, num1, num2, tot_scores
106
 
107
  def interpre3(num_selected):
 
100
  chatbot.append(("The correct answer is " + str(golden_label) + gender + ". Sorry.. AI wins in this round.", user_select))
101
  num2 += 1
102
 
103
+ # tot_scores = ''' ### <p style="text-align: center;"> πŸ€– Machine &ensp; ''' + str(int(num2)) + ''' &ensp; VS &ensp; ''' + str(int(num1)) + ''' &ensp; Human πŸ‘¨πŸ‘© </p>'''
104
+ tot_scores = '''
105
+ ### <p style="text-align: center;"> Today's Scores:</p>
106
+ ### <p style="text-align: center;"> πŸ€– Machine &ensp; <span style="color: red;">''' + str(int(num2)) + '''</span> &ensp; VS &ensp; <span style="color: green;">''' + str(int(num1)) + '''</span> &ensp; Human πŸ™‹ </p>'''
107
+
108
  return ai_predict, chatbot, num1, num2, tot_scores
109
 
110
  def interpre3(num_selected):