Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ from piper import PiperVoice
|
|
7 |
from transformers import pipeline
|
8 |
import typing
|
9 |
|
10 |
-
model_path = hf_hub_download(repo_id="davit312/piper-TTS-Armenian", filename="
|
11 |
-
config_path = hf_hub_download(repo_id="davit312/piper-TTS-Armenian", filename="
|
12 |
voice = PiperVoice.load(model_path, config_path)
|
13 |
|
14 |
|
|
|
7 |
from transformers import pipeline
|
8 |
import typing
|
9 |
|
10 |
+
model_path = hf_hub_download(repo_id="davit312/piper-TTS-Armenian", filename="hy_AM-gor-medium.onnx")
|
11 |
+
config_path = hf_hub_download(repo_id="davit312/piper-TTS-Armenian", filename="hy_AM-gor-medium.onnx.json")
|
12 |
voice = PiperVoice.load(model_path, config_path)
|
13 |
|
14 |
|