txya900619 commited on
Commit
456be9f
·
verified ·
1 Parent(s): 15812ac

fix: dialect_drop_down default bug

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -84,11 +84,13 @@ with demo:
84
 
85
  dialect_drop_down = gr.Radio(
86
  choices=[
87
- (k, v)
88
- for k, v in models_config[default_model_id]["dialect_mapping"].items()
 
89
  ],
90
- value=list(models_config[default_model_id]["dialect_mapping"].values())[0],
91
  label="族別",
 
92
  )
93
 
94
  model_drop_down.input(
 
84
 
85
  dialect_drop_down = gr.Radio(
86
  choices=[
87
+ "test"
88
+ # (k, v)
89
+ # for k, v in models_config[default_model_id]["dialect_mapping"].items()
90
  ],
91
+ # value=list(models_config[default_model_id]["dialect_mapping"].values())[0],
92
  label="族別",
93
+ visible=False
94
  )
95
 
96
  model_drop_down.input(