Pendrokar commited on
Commit
5f05fba
β€’
1 Parent(s): f70eab2

global current model vars

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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