Spaces:
Runtime error
Runtime error
arianna-bis
commited on
Commit
Β·
7e02446
1
Parent(s):
6f8b2b2
Update app.py
Browse files
app.py
CHANGED
@@ -76,7 +76,7 @@ with gr.Blocks(theme=gr.themes.Default(text_size=gr.themes.sizes.text_md)) as de
|
|
76 |
Does AI think like you or not at all?<br />
|
77 |
→ Check out the color highlighting to see which parts of the sentence are more important for the machine.<br />
|
78 |
Can you outsmart the AI?<br />
|
79 |
-
→ Try to write a text that will trick it into the wrong decision<br
|
80 |
'''
|
81 |
)
|
82 |
|
@@ -111,15 +111,10 @@ with gr.Blocks(theme=gr.themes.Default(text_size=gr.themes.sizes.text_md)) as de
|
|
111 |
* Step 3: Check the word highlighting to understand how AI made its decision.
|
112 |
'''
|
113 |
)
|
114 |
-
#gr.Markdown(
|
115 |
-
#''' ## Today's Scores
|
116 |
-
#'''
|
117 |
-
#)
|
118 |
|
119 |
tot_scores_1 = gr.Markdown(
|
120 |
-
'''
|
121 |
-
#### <
|
122 |
-
#### <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>'''
|
123 |
)
|
124 |
with gr.Row():
|
125 |
with gr.Column(scale=2):
|
@@ -198,9 +193,8 @@ with gr.Blocks(theme=gr.themes.Default(text_size=gr.themes.sizes.text_md)) as de
|
|
198 |
# ''' ### <p style="text-align: center;"> π€ Machine   ''' + str(int(0)) + '''   VS   ''' + str(int(0)) + '''   Human π </p>'''
|
199 |
# )
|
200 |
tot_scores_2 = gr.Markdown(
|
201 |
-
'''
|
202 |
-
#### <
|
203 |
-
#### <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>'''
|
204 |
)
|
205 |
with gr.Row():
|
206 |
with gr.Column(scale=2):
|
|
|
76 |
Does AI think like you or not at all?<br />
|
77 |
→ Check out the color highlighting to see which parts of the sentence are more important for the machine.<br />
|
78 |
Can you outsmart the AI?<br />
|
79 |
+
→ Try to write a text that will trick it into the wrong decision<br />
|
80 |
'''
|
81 |
)
|
82 |
|
|
|
111 |
* Step 3: Check the word highlighting to understand how AI made its decision.
|
112 |
'''
|
113 |
)
|
|
|
|
|
|
|
|
|
114 |
|
115 |
tot_scores_1 = gr.Markdown(
|
116 |
+
''' #### <p style="text-align: center;"> Today's Scores:
|
117 |
+
#### π€ Machine   <span style="color: red;">''' + str(int(0)) + '''</span>   VS   <span style="color: red;">''' + str(int(0)) + '''</span>   Human π </p>'''
|
|
|
118 |
)
|
119 |
with gr.Row():
|
120 |
with gr.Column(scale=2):
|
|
|
193 |
# ''' ### <p style="text-align: center;"> π€ Machine   ''' + str(int(0)) + '''   VS   ''' + str(int(0)) + '''   Human π </p>'''
|
194 |
# )
|
195 |
tot_scores_2 = gr.Markdown(
|
196 |
+
''' #### <p style="text-align: center;"> Today's Scores:
|
197 |
+
#### π€ Machine   <span style="color: red;">''' + str(int(0)) + '''</span>   VS   <span style="color: red;">''' + str(int(0)) + '''</span>   Human π </p>'''
|
|
|
198 |
)
|
199 |
with gr.Row():
|
200 |
with gr.Column(scale=2):
|