Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,8 @@ BASE_PATH_MODEL = os.path.join(BASE_PATH, "Model")
|
|
19 |
URL_PIPER_DOWNLOAD = "https://github.com/rhasspy/piper/releases/download/v1.2.0/piper_amd64.tar.gz"
|
20 |
|
21 |
# TTS model files
|
22 |
-
URL_TTS_ONNX = "https://huggingface.co/CavidanZ/TTS-azerbaijani-model/resolve/main/last.onnx"
|
23 |
-
URL_TTS_ONNX_2 = "https://huggingface.co/CavidanZ/TTS-azerbaijani-model/resolve/main/last2.onnx"
|
24 |
TMP_PIPER_FILENAME = os.path.join(BASE_PATH, "piper.tgz")
|
25 |
|
26 |
headers = {"Authorization": f"Bearer {HF_TOKEN}"}
|
|
|
19 |
URL_PIPER_DOWNLOAD = "https://github.com/rhasspy/piper/releases/download/v1.2.0/piper_amd64.tar.gz"
|
20 |
|
21 |
# TTS model files
|
22 |
+
URL_TTS_ONNX = "https://huggingface.co/spaces/CavidanZ/TTS-azerbaijani-model/resolve/main/last.onnx"
|
23 |
+
URL_TTS_ONNX_2 = "https://huggingface.co/spaces/CavidanZ/TTS-azerbaijani-model/resolve/main/last2.onnx"
|
24 |
TMP_PIPER_FILENAME = os.path.join(BASE_PATH, "piper.tgz")
|
25 |
|
26 |
headers = {"Authorization": f"Bearer {HF_TOKEN}"}
|