Update app.py
Browse files
app.py
CHANGED
|
@@ -338,8 +338,8 @@ with gr.Blocks(css=CSS, title="图像重建主观评估") as demo:
|
|
| 338 |
with welcome_container:
|
| 339 |
# ... (欢迎页UI,与您上一版代码相同) ...
|
| 340 |
gr.Markdown(welcome_page_markdown)
|
| 341 |
-
with gr.Row(): user_name_input = gr.Textbox(label="请输入您的姓名或代号 (例如
|
| 342 |
-
with gr.Row(): user_age_input = gr.Number(label="年龄 (请输入1-120的整数)", minimum=1, maximum=120, step=1, value=25); user_education_input = gr.Dropdown(label="学历", choices=["其他","初中及以下","高中(含中专)", "
|
| 343 |
welcome_error_msg = gr.Markdown(value="")
|
| 344 |
btn_agree_and_start = gr.Button("我已阅读上述说明并同意参与实验")
|
| 345 |
|
|
|
|
| 338 |
with welcome_container:
|
| 339 |
# ... (欢迎页UI,与您上一版代码相同) ...
|
| 340 |
gr.Markdown(welcome_page_markdown)
|
| 341 |
+
with gr.Row(): user_name_input = gr.Textbox(label="请输入您的姓名或代号 (例如 张三 或 User001)", placeholder="例如:张三 -> ZS"); user_gender_input = gr.Radio(label="性别", choices=["男", "女"])
|
| 342 |
+
with gr.Row(): user_age_input = gr.Number(label="年龄 (请输入1-120的整数)", minimum=1, maximum=120, step=1, value=25); user_education_input = gr.Dropdown(label="学历", choices=["其他","初中及以下","高中(含中专)", "大专(含在读)", "本科(含在读)", "硕士(含在读)", "博士(含在读)"])
|
| 343 |
welcome_error_msg = gr.Markdown(value="")
|
| 344 |
btn_agree_and_start = gr.Button("我已阅读上述说明并同意参与实验")
|
| 345 |
|