Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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=
|
| 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=
|
| 105 |
tot_scores_1 = gr.Markdown(
|
| 106 |
-
'''
|
| 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   ''' + str(int(0)) + '''   VS   ''' + str(int(0)) + '''   Human '''
|
| 107 |
)
|
| 108 |
+
# tot_scores_1 = gr.Markdown(
|
| 109 |
+
# ''' ### <p style="text-align: center;"> Machine   ''' + str(int(0)) + '''   VS   ''' + str(int(0)) + '''   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 |
|