kdrkdrkdr commited on
Commit
32dbc48
1 Parent(s): 4265f2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -96,8 +96,8 @@ if __name__ == '__main__':
96
  **hps.model)
97
  utils.load_checkpoint(model_path, model, None)
98
  model.eval()
99
- speaker_ids = [sid for sid, name in enumerate(hps.speakers) if name != "None"]
100
- speakers = [name for sid, name in enumerate(hps.speakers) if name != "None"]
101
 
102
  t = 'vits'
103
  models_tts.append((name, cover_path, speakers, lang, example,
 
96
  **hps.model)
97
  utils.load_checkpoint(model_path, model, None)
98
  model.eval()
99
+ speaker_ids = [0]
100
+ speakers = [name]
101
 
102
  t = 'vits'
103
  models_tts.append((name, cover_path, speakers, lang, example,