Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1368,12 +1368,13 @@ with gr.Blocks(theme= gr.themes.Glass(), css=css) as app:
|
|
| 1368 |
with gr.Row(visible=False) as page_2:
|
| 1369 |
with gr.Column():
|
| 1370 |
# PHQ-9
|
| 1371 |
-
gr.Markdown("#
|
|
|
|
| 1372 |
pid_input = gr.Textbox(label="Prolific ID (required)")
|
| 1373 |
pid_output = gr.Markdown()
|
| 1374 |
|
| 1375 |
gr.Markdown("""### Over the last 2 weeks, how often have you been bothered by
|
| 1376 |
-
##
|
| 1377 |
|
| 1378 |
q1 = gr.Radio(choices=["0", "1", "2", "3"], label="Little interest or pleasure in doing things?", value = "0")
|
| 1379 |
q2 = gr.Radio(choices=["0", "1", "2", "3"], label="Feeling down, depressed, or hopeless?", value = "0")
|
|
@@ -1393,9 +1394,9 @@ with gr.Blocks(theme= gr.themes.Glass(), css=css) as app:
|
|
| 1393 |
|
| 1394 |
with gr.Row(visible=False) as page_3:
|
| 1395 |
with gr.Column():
|
| 1396 |
-
gr.Markdown("""
|
| 1397 |
-
## Over the last 2 weeks, how often have you been bothered by
|
| 1398 |
-
## any of the following problems (0 = "Never", 3 = "Very often")?
|
| 1399 |
""")
|
| 1400 |
g1 = gr.Radio(choices=["0", "1", "2", "3"], label="Feeling nervous, anxious, or on edge?", value = "0")
|
| 1401 |
g2 = gr.Radio(choices=["0", "1", "2", "3"], label="Not being able to stop or control worrying?", value = "0")
|
|
|
|
| 1368 |
with gr.Row(visible=False) as page_2:
|
| 1369 |
with gr.Column():
|
| 1370 |
# PHQ-9
|
| 1371 |
+
gr.Markdown("# ")
|
| 1372 |
+
gr.Markdown("### Enter Your Prolific ID:")
|
| 1373 |
pid_input = gr.Textbox(label="Prolific ID (required)")
|
| 1374 |
pid_output = gr.Markdown()
|
| 1375 |
|
| 1376 |
gr.Markdown("""### Over the last 2 weeks, how often have you been bothered by
|
| 1377 |
+
### any of the following problems (0 = "Never", 3 = "Very often")?""")
|
| 1378 |
|
| 1379 |
q1 = gr.Radio(choices=["0", "1", "2", "3"], label="Little interest or pleasure in doing things?", value = "0")
|
| 1380 |
q2 = gr.Radio(choices=["0", "1", "2", "3"], label="Feeling down, depressed, or hopeless?", value = "0")
|
|
|
|
| 1394 |
|
| 1395 |
with gr.Row(visible=False) as page_3:
|
| 1396 |
with gr.Column():
|
| 1397 |
+
gr.Markdown("""
|
| 1398 |
+
### Over the last 2 weeks, how often have you been bothered by
|
| 1399 |
+
### any of the following problems (0 = "Never", 3 = "Very often")?
|
| 1400 |
""")
|
| 1401 |
g1 = gr.Radio(choices=["0", "1", "2", "3"], label="Feeling nervous, anxious, or on edge?", value = "0")
|
| 1402 |
g2 = gr.Radio(choices=["0", "1", "2", "3"], label="Not being able to stop or control worrying?", value = "0")
|