JRQi commited on
Commit
73ccf41
β€’
1 Parent(s): 9e1620d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -14
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 &ensp; ''' + str(int(0)) + ''' &ensp; VS &ensp; ''' + str(int(0)) + ''' &ensp; 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
- with gr.Row():
102
- with gr.Column(scale=1):
103
- gr.Image('icon_robot.png', height=10, width=10, min_width=10, show_label=False, show_share_button=False, interactive=False, container=True)
104
- with gr.Column(scale=2):
105
- tot_scores_1 = gr.Markdown(
106
- ''' Machine &ensp; ''' + str(int(0)) + ''' &ensp; VS &ensp; ''' + str(int(0)) + ''' &ensp; Human '''
107
- )
108
- # tot_scores_1 = gr.Markdown(
109
- # ''' ### <p style="text-align: center;"> Machine &ensp; ''' + str(int(0)) + ''' &ensp; VS &ensp; ''' + str(int(0)) + ''' &ensp; 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 &ensp; ''' + str(int(0)) + ''' &ensp; VS &ensp; ''' + str(int(0)) + ''' &ensp; 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 &ensp; ''' + str(int(0)) + ''' &ensp; VS &ensp; ''' + str(int(0)) + ''' &ensp; 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 &ensp; ''' + str(int(0)) + ''' &ensp; VS &ensp; ''' + str(int(0)) + ''' &ensp; 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 &ensp; ''' + str(int(0)) + ''' &ensp; VS &ensp; ''' + str(int(0)) + ''' &ensp; Human πŸ‘¨πŸ‘© </p>'''
183
  )
184
  gr.Markdown(
185
  ''' ## Male or Female