mbarnig commited on
Commit
1a76f08
·
verified ·
1 Parent(s): db46388

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -38,7 +38,8 @@ def new_load_mod(instr="en_US-joe-medium"):
38
  print(f"os.path: {os.path}")
39
  if not os.path.isfile(f'{os.getcwd()}/voices/{file}'):
40
  print(f"Model not found locally")
41
- m_path= f"https://huggingface.co/rhasspy/piper-voices/resolve/main/{lang}/{dia}/{name}/{style}/{file}"
 
42
  print(f"m_path: {m_path}")
43
  print("Downloading json...")
44
  json_file=requests.get(f"{m_path}.json")
 
38
  print(f"os.path: {os.path}")
39
  if not os.path.isfile(f'{os.getcwd()}/voices/{file}'):
40
  print(f"Model not found locally")
41
+ # m_path= f"https://huggingface.co/rhasspy/piper-voices/resolve/main/{lang}/{dia}/{name}/{style}/{file}"
42
+ m_path= f"https://huggingface.co/mbarnig/lb_rhasspy_piper_female_tts/resolve/main/female2_model.onnx"
43
  print(f"m_path: {m_path}")
44
  print("Downloading json...")
45
  json_file=requests.get(f"{m_path}.json")