Spaces:
Sleeping
Sleeping
elibrowne
commited on
Commit
·
dc4c04d
1
Parent(s):
711dc9d
Small edits
Browse files
app.py
CHANGED
|
@@ -118,13 +118,13 @@ with gr.Blocks(theme = theme) as user_eval:
|
|
| 118 |
# Scoring box
|
| 119 |
with gr.Column(scale = 1) as scores_p:
|
| 120 |
desc_0 = gr.Markdown("Does the passage describe **a legal rule?**")
|
| 121 |
-
eval_0 = gr.Radio(["Yes", "No"], label = "
|
| 122 |
desc_1 = gr.Markdown("How **relevant** is this passage to the question?")
|
| 123 |
-
eval_1 = gr.Slider(1, 5, step = 0.5, label = "
|
| 124 |
desc_2 = gr.Markdown("How would you rate the passage's **quality** in terms of detail, clarity, and focus?")
|
| 125 |
-
eval_2 = gr.Slider(1, 5, step = 0.5, label = "
|
| 126 |
desc_3 = gr.Markdown("How effectively does the passage **lead you to the correct answer?**")
|
| 127 |
-
eval_3 = gr.Slider(1, 5, step = 0.5, label = "
|
| 128 |
btn_p = gr.Button("Next")
|
| 129 |
|
| 130 |
with gr.Column(scale = 1, visible = False) as scores_g:
|
|
@@ -223,7 +223,7 @@ with gr.Blocks(theme = theme) as user_eval:
|
|
| 223 |
gr.Markdown("---")
|
| 224 |
gr.Markdown("# Enter email to start")
|
| 225 |
gr.Markdown("Thank you so much for your participation in our study! Please enter your email — we're using it to keep track of which questions you've answered and which you haven't seen. Use the same email every time to keep your progress saved. :)")
|
| 226 |
-
email = gr.Textbox("Email")
|
| 227 |
s = gr.Button("Start!")
|
| 228 |
|
| 229 |
def submit_email(email):
|
|
|
|
| 118 |
# Scoring box
|
| 119 |
with gr.Column(scale = 1) as scores_p:
|
| 120 |
desc_0 = gr.Markdown("Does the passage describe **a legal rule?**")
|
| 121 |
+
eval_0 = gr.Radio(["Yes", "No"], label = "Legal Rule?")
|
| 122 |
desc_1 = gr.Markdown("How **relevant** is this passage to the question?")
|
| 123 |
+
eval_1 = gr.Slider(1, 5, step = 0.5, label = "Relevance")
|
| 124 |
desc_2 = gr.Markdown("How would you rate the passage's **quality** in terms of detail, clarity, and focus?")
|
| 125 |
+
eval_2 = gr.Slider(1, 5, step = 0.5, label = "Quality")
|
| 126 |
desc_3 = gr.Markdown("How effectively does the passage **lead you to the correct answer?**")
|
| 127 |
+
eval_3 = gr.Slider(1, 5, step = 0.5, label = "Helpfulness")
|
| 128 |
btn_p = gr.Button("Next")
|
| 129 |
|
| 130 |
with gr.Column(scale = 1, visible = False) as scores_g:
|
|
|
|
| 223 |
gr.Markdown("---")
|
| 224 |
gr.Markdown("# Enter email to start")
|
| 225 |
gr.Markdown("Thank you so much for your participation in our study! Please enter your email — we're using it to keep track of which questions you've answered and which you haven't seen. Use the same email every time to keep your progress saved. :)")
|
| 226 |
+
email = gr.Textbox(label = "Email", placeholder = "you@email.com")
|
| 227 |
s = gr.Button("Start!")
|
| 228 |
|
| 229 |
def submit_email(email):
|