Spark Chou commited on
Commit
9d6fbc2
·
1 Parent(s): af2a65b

update slider min

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -941,7 +941,7 @@ with gr.Blocks(theme=gr.themes.Soft(), css=".gradio-container {max-width: 960px
941
  test_dimension_title = gr.Markdown()
942
  test_audio = gr.Audio(label="Test Audio")
943
  gr.Markdown("--- \n ### Please rate the respondent (not the initiator) in the conversation based on the following features (0-5 points. 0 - Feature not present; 1 - Machine; 3 - Neutral; 5 - Human)")
944
- test_sliders = [gr.Slider(minimum=0, maximum=5, step=1, label=f"Sub-dim {i+1}", visible=False, interactive=True) for i in range(MAX_SUB_DIMS)]
945
  with gr.Row():
946
  prev_dim_btn = gr.Button("Previous Dimension")
947
  next_dim_btn = gr.Button("Next Dimension", variant="primary")
 
941
  test_dimension_title = gr.Markdown()
942
  test_audio = gr.Audio(label="Test Audio")
943
  gr.Markdown("--- \n ### Please rate the respondent (not the initiator) in the conversation based on the following features (0-5 points. 0 - Feature not present; 1 - Machine; 3 - Neutral; 5 - Human)")
944
+ test_sliders = [gr.Slider(minimum=1, maximum=5, step=1, label=f"Sub-dim {i+1}", visible=False, interactive=True) for i in range(MAX_SUB_DIMS)]
945
  with gr.Row():
946
  prev_dim_btn = gr.Button("Previous Dimension")
947
  next_dim_btn = gr.Button("Next Dimension", variant="primary")