Pendrokar commited on
Commit
ae765ca
Β·
2 Parent(s): df6a167 725f6d6

Merge remote-tracking branch 'origin/main'

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -49,14 +49,14 @@ def load_model(voice_model_name):
49
  if voice_model_name == 'x_selpahi':
50
  # Lojban
51
  model_path = hf_cache_lojban_models_path + voice_model_name
52
- model_type = 'FastPitch1.1'
53
  else:
54
  model_path = models_path + voice_model_name
55
  if voice_model_name == 'cnc_cabal':
56
  model_path = hf_cache_robotic_models_path + voice_model_name
57
  if voice_model_name[:5] == 'x_ex0':
58
  model_path = hf_cache_expresso_models_path + voice_model_name
59
- model_type = 'xVAPitch'
60
 
61
  language = 'en' # seems to have no effect if generated text is for a different language
62
 
 
49
  if voice_model_name == 'x_selpahi':
50
  # Lojban
51
  model_path = hf_cache_lojban_models_path + voice_model_name
52
+ model_type = 'fastpitch1_1'
53
  else:
54
  model_path = models_path + voice_model_name
55
  if voice_model_name == 'cnc_cabal':
56
  model_path = hf_cache_robotic_models_path + voice_model_name
57
  if voice_model_name[:5] == 'x_ex0':
58
  model_path = hf_cache_expresso_models_path + voice_model_name
59
+ model_type = 'xvapitch'
60
 
61
  language = 'en' # seems to have no effect if generated text is for a different language
62