sulaimank commited on
Commit
0b5cf02
·
verified ·
1 Parent(s): 36b8cc7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -17,11 +17,11 @@ MODEL_INFO = {
17
  }
18
 
19
  # Download config once
20
- config_path = hf_hub_download("/sulaimank/luganda_LMs/", filename="config.json")
21
 
22
  # Function to load synthesizer on demand
23
  def load_synth(model_file):
24
- model_path = hf_hub_download("/sulaimank/luganda_LMs/", filename=model_file)
25
  return Synthesizer(
26
  tts_checkpoint=model_path,
27
  tts_config_path=config_path
 
17
  }
18
 
19
  # Download config once
20
+ config_path = hf_hub_download("huggingface.co/sulaimank/luganda_LMs/", filename="config.json")
21
 
22
  # Function to load synthesizer on demand
23
  def load_synth(model_file):
24
+ model_path = hf_hub_download("huggingface.co/sulaimank/luganda_LMs/", filename=model_file)
25
  return Synthesizer(
26
  tts_checkpoint=model_path,
27
  tts_config_path=config_path