Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ def reset_scores():
|
|
22 |
"Scores": [0, 0],
|
23 |
}
|
24 |
)
|
25 |
-
tot_scores = ''' ### <p style="text-align: center;"> Machine   ''' + str(int(0)) + '''   VS   ''' + str(int(0)) + '''   Human </p>'''
|
26 |
|
27 |
# scroe_human = ''' # Human: ''' + str(int(0))
|
28 |
# scroe_robot = ''' # Robot: ''' + str(int(0))
|
@@ -98,18 +98,10 @@ with gr.Blocks(theme=gr.themes.Default(text_size=gr.themes.sizes.text_md)) as de
|
|
98 |
''' ## Today's Scores
|
99 |
'''
|
100 |
)
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
tot_scores_1 = gr.Markdown(
|
106 |
-
''' Machine   ''' + str(int(0)) + '''   VS   ''' + str(int(0)) + '''   Human '''
|
107 |
-
)
|
108 |
-
# tot_scores_1 = gr.Markdown(
|
109 |
-
# ''' ### <p style="text-align: center;"> Machine   ''' + str(int(0)) + '''   VS   ''' + str(int(0)) + '''   Human </p>'''
|
110 |
-
# )
|
111 |
-
with gr.Column(scale=1):
|
112 |
-
gr.Image('icon_user.png', height=10, width=10, min_width=10, show_label=False, show_share_button=False, interactive=False, container=True)
|
113 |
|
114 |
gr.Markdown(
|
115 |
''' ## Like or Dislike
|
@@ -187,7 +179,7 @@ with gr.Blocks(theme=gr.themes.Default(text_size=gr.themes.sizes.text_md)) as de
|
|
187 |
'''
|
188 |
)
|
189 |
tot_scores_2 = gr.Markdown(
|
190 |
-
''' ### <p style="text-align: center;"> Machine   ''' + str(int(0)) + '''   VS   ''' + str(int(0)) + '''   Human </p>'''
|
191 |
)
|
192 |
gr.Markdown(
|
193 |
''' ## Male or Female
|
|
|
22 |
"Scores": [0, 0],
|
23 |
}
|
24 |
)
|
25 |
+
tot_scores = ''' ### <p style="text-align: center;"> π€ Machine   ''' + str(int(0)) + '''   VS   ''' + str(int(0)) + '''   Human π¨π© </p>'''
|
26 |
|
27 |
# scroe_human = ''' # Human: ''' + str(int(0))
|
28 |
# scroe_robot = ''' # Robot: ''' + str(int(0))
|
|
|
98 |
''' ## Today's Scores
|
99 |
'''
|
100 |
)
|
101 |
+
|
102 |
+
tot_scores_1 = gr.Markdown(
|
103 |
+
''' ### <p style="text-align: center;"> π€ Machine   ''' + str(int(0)) + '''   VS   ''' + str(int(0)) + '''   Human π¨π© </p>'''
|
104 |
+
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
105 |
|
106 |
gr.Markdown(
|
107 |
''' ## Like or Dislike
|
|
|
179 |
'''
|
180 |
)
|
181 |
tot_scores_2 = gr.Markdown(
|
182 |
+
''' ### <p style="text-align: center;"> π€ Machine   ''' + str(int(0)) + '''   VS   ''' + str(int(0)) + '''   Human π¨π© </p>'''
|
183 |
)
|
184 |
gr.Markdown(
|
185 |
''' ## Male or Female
|