JRQi commited on
Commit
9e1620d
1 Parent(s): 89f544a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -3
app.py CHANGED
@@ -93,7 +93,7 @@ with gr.Blocks(theme=gr.themes.Default(text_size=gr.themes.sizes.text_md)) as de
93
  slider_1_1 = gr.Slider(label="Your rating: Dislike(0) —> Like(100)", container=True, min_width=200, height=80, show_label=True, interactive=True)
94
  user_important = gr.Textbox(label="Which words are your guesses based on?", placeholder="Enter words that you think are important for the task")
95
 
96
- with gr.Column(scale=4):
97
  gr.Markdown(
98
  ''' ## Today's Scores
99
  '''
@@ -101,10 +101,13 @@ with gr.Blocks(theme=gr.themes.Default(text_size=gr.themes.sizes.text_md)) as de
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=5):
105
  tot_scores_1 = gr.Markdown(
106
- ''' ### <p style="text-align: center;"> Machine &ensp; ''' + str(int(0)) + ''' &ensp; VS &ensp; ''' + str(int(0)) + ''' &ensp; Human </p>'''
107
  )
 
 
 
108
  with gr.Column(scale=1):
109
  gr.Image('icon_user.png', height=10, width=10, min_width=10, show_label=False, show_share_button=False, interactive=False, container=True)
110
 
 
93
  slider_1_1 = gr.Slider(label="Your rating: Dislike(0) —> Like(100)", container=True, min_width=200, height=80, show_label=True, interactive=True)
94
  user_important = gr.Textbox(label="Which words are your guesses based on?", placeholder="Enter words that you think are important for the task")
95
 
96
+ with gr.Column(scale=1):
97
  gr.Markdown(
98
  ''' ## Today's Scores
99
  '''
 
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