txya900619 commited on
Commit
3e1afff
1 Parent(s): df2b73b

fix: use example speaker select dropdown will disappear

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -195,7 +195,7 @@ with demo:
195
  interactive=len(models_config[default_model_id]["speaker_mapping"]) > 1,
196
  visible=False,
197
  )
198
- use_default_emb_or_custom_radio.input(
199
  use_default_emb_or_custom_radio_input,
200
  inputs=[use_default_emb_or_custom_radio],
201
  outputs=[speaker_wav, speaker_drop_down],
 
195
  interactive=len(models_config[default_model_id]["speaker_mapping"]) > 1,
196
  visible=False,
197
  )
198
+ use_default_emb_or_custom_radio.change(
199
  use_default_emb_or_custom_radio_input,
200
  inputs=[use_default_emb_or_custom_radio],
201
  outputs=[speaker_wav, speaker_drop_down],