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