Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -23,8 +23,11 @@ def reset_scores():
|
|
23 |
"Scores": [0, 0],
|
24 |
}
|
25 |
)
|
26 |
-
tot_scores =
|
27 |
-
|
|
|
|
|
|
|
28 |
# scroe_human = ''' # Human: ''' + str(int(0))
|
29 |
# scroe_robot = ''' # Robot: ''' + str(int(0))
|
30 |
|
@@ -110,7 +113,7 @@ with gr.Blocks(theme=gr.themes.Default(text_size=gr.themes.sizes.text_md)) as de
|
|
110 |
tot_scores_1 = gr.Markdown(
|
111 |
'''
|
112 |
### <p style="text-align: center;"> Today's Scores:</p>
|
113 |
-
### <p style="text-align: center;"> π€ Machine   <span style="color: red;">''' + str(int(0)) + '''</span>   VS   ''' + str(int(0)) + '''   Human π </p>'''
|
114 |
)
|
115 |
with gr.Row():
|
116 |
with gr.Column(scale=2):
|
@@ -181,14 +184,18 @@ with gr.Blocks(theme=gr.themes.Default(text_size=gr.themes.sizes.text_md)) as de
|
|
181 |
- Step 3: Check the word highlighting to understand how AI made its decision.
|
182 |
'''
|
183 |
)
|
184 |
-
gr.Markdown(
|
185 |
-
''' ## Today's Scores
|
186 |
-
'''
|
187 |
-
)
|
|
|
|
|
|
|
188 |
tot_scores_2 = gr.Markdown(
|
189 |
-
'''
|
|
|
|
|
190 |
)
|
191 |
-
|
192 |
with gr.Row():
|
193 |
with gr.Column(scale=2):
|
194 |
chat_button_mf = gr.Button("Click to see AI's guess", size='sm')
|
|
|
23 |
"Scores": [0, 0],
|
24 |
}
|
25 |
)
|
26 |
+
tot_scores = gr.Markdown(
|
27 |
+
'''
|
28 |
+
### <p style="text-align: center;"> Today's Scores:</p>
|
29 |
+
### <p style="text-align: center;"> π€ Machine   <span style="color: red;">''' + str(int(0)) + '''</span>   VS   <span style="color: green;">''' + str(int(0)) + '''</span>   Human π </p>'''
|
30 |
+
)
|
31 |
# scroe_human = ''' # Human: ''' + str(int(0))
|
32 |
# scroe_robot = ''' # Robot: ''' + str(int(0))
|
33 |
|
|
|
113 |
tot_scores_1 = gr.Markdown(
|
114 |
'''
|
115 |
### <p style="text-align: center;"> Today's Scores:</p>
|
116 |
+
### <p style="text-align: center;"> π€ Machine   <span style="color: red;">''' + str(int(0)) + '''</span>   VS   <span style="color: green;">''' + str(int(0)) + '''</span>   Human π </p>'''
|
117 |
)
|
118 |
with gr.Row():
|
119 |
with gr.Column(scale=2):
|
|
|
184 |
- Step 3: Check the word highlighting to understand how AI made its decision.
|
185 |
'''
|
186 |
)
|
187 |
+
# gr.Markdown(
|
188 |
+
# ''' ## Today's Scores
|
189 |
+
# '''
|
190 |
+
# )
|
191 |
+
# tot_scores_2 = gr.Markdown(
|
192 |
+
# ''' ### <p style="text-align: center;"> π€ Machine   ''' + str(int(0)) + '''   VS   ''' + str(int(0)) + '''   Human π </p>'''
|
193 |
+
# )
|
194 |
tot_scores_2 = gr.Markdown(
|
195 |
+
'''
|
196 |
+
### <p style="text-align: center;"> Today's Scores:</p>
|
197 |
+
### <p style="text-align: center;"> π€ Machine   <span style="color: red;">''' + str(int(0)) + '''</span>   VS   <span style="color: green;">''' + str(int(0)) + '''</span>   Human π </p>'''
|
198 |
)
|
|
|
199 |
with gr.Row():
|
200 |
with gr.Column(scale=2):
|
201 |
chat_button_mf = gr.Button("Click to see AI's guess", size='sm')
|