Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def load_model(voice_model_name):
|
|
| 51 |
model_path = hf_cache_lojban_models_path + voice_model_name
|
| 52 |
model_type = 'FastPitch1.1'
|
| 53 |
else:
|
| 54 |
-
|
| 55 |
if voice_model_name == 'cnc_cabal':
|
| 56 |
model_path = hf_cache_robotic_models_path + voice_model_name
|
| 57 |
if voice_model_name == 'x_ex02':
|
|
|
|
| 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 == 'x_ex02':
|