gyroing commited on
Commit
686e3d3
1 Parent(s): 8ce2dae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ def synthesize_speech(text):
11
 
12
 
13
  model_path = hf_hub_download(repo_id="gyroing/Persian-Piper-Model-gyro", filename="fa_IR-gyro-meduim.onnx")
14
- config_path = hf_hub_download(repo_id="gyroing/Persian-Piper-Model-gyro/", filename="fa_IR-gyro-meduim.onnx.json")
15
  voice = PiperVoice.load(model_path, config_path)
16
 
17
  # Create an in-memory buffer for the WAV file
 
11
 
12
 
13
  model_path = hf_hub_download(repo_id="gyroing/Persian-Piper-Model-gyro", filename="fa_IR-gyro-meduim.onnx")
14
+ config_path = hf_hub_download(repo_id="gyroing/Persian-Piper-Model-gyro", filename="fa_IR-gyro-meduim.onnx.json")
15
  voice = PiperVoice.load(model_path, config_path)
16
 
17
  # Create an in-memory buffer for the WAV file