Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
global current model vars
Browse files
app.py
CHANGED
@@ -26,6 +26,8 @@ current_voice_type = None
|
|
26 |
base_speaker_emb = ''
|
27 |
|
28 |
def load_model(voice_model_name):
|
|
|
|
|
29 |
if voice_model_name == 'x_selpahi':
|
30 |
# Lojban
|
31 |
model_path = hf_cache_lojban_models_path + voice_model_name
|
|
|
26 |
base_speaker_emb = ''
|
27 |
|
28 |
def load_model(voice_model_name):
|
29 |
+
global current_voice_model, current_voice_type
|
30 |
+
|
31 |
if voice_model_name == 'x_selpahi':
|
32 |
# Lojban
|
33 |
model_path = hf_cache_lojban_models_path + voice_model_name
|