Spaces:
Runtime error
Runtime error
Update game1.py
Browse files
game1.py
CHANGED
@@ -246,8 +246,10 @@ def func1(lang_selected, num_selected, human_predict, num1, num2, user_important
|
|
246 |
# )
|
247 |
# scroe_human = ''' # Human: ''' + str(int(num1))
|
248 |
# scroe_robot = ''' # Robot: ''' + str(int(num2))
|
249 |
-
tot_scores = ''' ### <p style="text-align: center;"> π€ Machine   ''' + str(int(num2)) + '''   VS   ''' + str(int(num1)) + '''   Human π¨π© </p>'''
|
250 |
-
|
|
|
|
|
251 |
|
252 |
# num_tmp = max(num1, num2)
|
253 |
# y_lim_upper = (int((num_tmp + 3)/10)+1) * 10
|
|
|
246 |
# )
|
247 |
# scroe_human = ''' # Human: ''' + str(int(num1))
|
248 |
# scroe_robot = ''' # Robot: ''' + str(int(num2))
|
249 |
+
# tot_scores = ''' ### <p style="text-align: center;"> π€ Machine   ''' + str(int(num2)) + '''   VS   ''' + str(int(num1)) + '''   Human π¨π© </p>'''
|
250 |
+
tot_scores = '''
|
251 |
+
### <p style="text-align: center;"> Today's Scores:</p>
|
252 |
+
### <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>'''
|
253 |
|
254 |
# num_tmp = max(num1, num2)
|
255 |
# y_lim_upper = (int((num_tmp + 3)/10)+1) * 10
|