Spaces:
Runtime error
Runtime error
Update game3.py
Browse files
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   ''' + str(int(num2)) + '''   VS   ''' + str(int(num1)) + '''   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   ''' + str(int(num2)) + '''   VS   ''' + str(int(num1)) + '''   Human π¨π© </p>'''
|
104 |
+
tot_scores = '''
|
105 |
+
### <p style="text-align: center;"> Today's Scores:</p>
|
106 |
+
### <p style="text-align: center;"> π€ Machine   <span style="color: red;">''' + str(int(num2)) + '''</span>   VS   <span style="color: green;">''' + str(int(num1)) + '''</span>   Human π </p>'''
|
107 |
+
|
108 |
return ai_predict, chatbot, num1, num2, tot_scores
|
109 |
|
110 |
def interpre3(num_selected):
|