Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Merge remote-tracking branch 'origin/main'
Browse files
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 = '
|
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 = '
|
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 |
|