arianna-bis commited on
Commit
7e02446
β€’
1 Parent(s): 6f8b2b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -11
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
  &rarr; 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
- &rarr; Try to write a text that will trick it into the wrong decision<br /><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
- #### <p style="text-align: center;"> Today's Scores:</p>
122
- #### <p style="text-align: center;"> πŸ€– Machine &ensp; <span style="color: red;">''' + str(int(0)) + '''</span> &ensp; VS &ensp; <span style="color: green;">''' + str(int(0)) + '''</span> &ensp; 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 &ensp; ''' + str(int(0)) + ''' &ensp; VS &ensp; ''' + str(int(0)) + ''' &ensp; Human πŸ™‹ </p>'''
199
  # )
200
  tot_scores_2 = gr.Markdown(
201
- '''
202
- #### <p style="text-align: center;"> Today's Scores:</p>
203
- #### <p style="text-align: center;"> πŸ€– Machine &ensp; <span style="color: red;">''' + str(int(0)) + '''</span> &ensp; VS &ensp; <span style="color: green;">''' + str(int(0)) + '''</span> &ensp; 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
  &rarr; 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
+ &rarr; 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 &ensp; <span style="color: red;">''' + str(int(0)) + '''</span> &ensp; VS &ensp; <span style="color: red;">''' + str(int(0)) + '''</span> &ensp; Human πŸ™‹ </p>'''
 
118
  )
119
  with gr.Row():
120
  with gr.Column(scale=2):
 
193
  # ''' ### <p style="text-align: center;"> πŸ€– Machine &ensp; ''' + str(int(0)) + ''' &ensp; VS &ensp; ''' + str(int(0)) + ''' &ensp; Human πŸ™‹ </p>'''
194
  # )
195
  tot_scores_2 = gr.Markdown(
196
+ ''' #### <p style="text-align: center;"> Today's Scores:
197
+ #### πŸ€– Machine &ensp; <span style="color: red;">''' + str(int(0)) + '''</span> &ensp; VS &ensp; <span style="color: red;">''' + str(int(0)) + '''</span> &ensp; Human πŸ™‹ </p>'''
 
198
  )
199
  with gr.Row():
200
  with gr.Column(scale=2):