Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -900,7 +900,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=".gradio-container {max-width: 960px
|
|
| 900 |
test_audio = gr.Audio(label="测试音频")
|
| 901 |
gr.Markdown("--- \n ### 请为对话中的回应者(非发起者)针对以下特征打分 (0-5分。0-特征无体现;1-机器;3-特征无偏向;5-人类)")
|
| 902 |
|
| 903 |
-
test_sliders = [gr.Slider(minimum=
|
| 904 |
|
| 905 |
with gr.Row():
|
| 906 |
prev_dim_btn = gr.Button("上一维度")
|
|
|
|
| 900 |
test_audio = gr.Audio(label="测试音频")
|
| 901 |
gr.Markdown("--- \n ### 请为对话中的回应者(非发起者)针对以下特征打分 (0-5分。0-特征无体现;1-机器;3-特征无偏向;5-人类)")
|
| 902 |
|
| 903 |
+
test_sliders = [gr.Slider(minimum=0, maximum=5, step=1, label=f"Sub-dim {i+1}", visible=False, interactive=True, show_label = True) for i in range(MAX_SUB_DIMS)]
|
| 904 |
|
| 905 |
with gr.Row():
|
| 906 |
prev_dim_btn = gr.Button("上一维度")
|