mbarnig commited on
Commit
d229c17
·
verified ·
1 Parent(s): 6036908

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -47,8 +47,8 @@ def new_load_mod(instr="en_US-joe-medium"):
47
  print(f"os.path: {os.path}")
48
  if not os.path.isfile(f'{os.getcwd()}/voices/{file}'):
49
  print(f"Model not found locally")
50
- m_path= f"https://huggingface.co/rhasspy/piper-voices/resolve/main/{lang}/{dia}/{name}/{style}/{file}"
51
- # m_path= f"https://huggingface.co/mbarnig/lb_rhasspy_piper_female_tts/resolve/main/female2_model.onnx"
52
  print(f"m_path: {m_path}")
53
  print("Downloading json...")
54
  json_file=requests.get(f"{m_path}.json")
 
47
  print(f"os.path: {os.path}")
48
  if not os.path.isfile(f'{os.getcwd()}/voices/{file}'):
49
  print(f"Model not found locally")
50
+ # m_path= f"https://huggingface.co/rhasspy/piper-voices/resolve/main/{lang}/{dia}/{name}/{style}/{file}"
51
+ m_path= f"https://huggingface.co/mbarnig/lb_rhasspy_piper_female_tts/resolve/main/female2_model.onnx"
52
  print(f"m_path: {m_path}")
53
  print("Downloading json...")
54
  json_file=requests.get(f"{m_path}.json")