Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
| 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
|