Spaces:
Sleeping
Sleeping
csukuangfj
commited on
Commit
•
d42a943
1
Parent(s):
bd7955f
add more english models
Browse files
model.py
CHANGED
@@ -167,7 +167,6 @@ def _get_vits_piper_de_DE(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
|
|
167 |
|
168 |
@lru_cache(maxsize=10)
|
169 |
def _get_vits_piper_en_US(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
|
170 |
-
assert repo_id == "csukuangfj/vits-piper-en_US-lessac-medium"
|
171 |
n = len("vits-piper-")
|
172 |
name = repo_id.split("/")[1][n:]
|
173 |
|
|
|
167 |
|
168 |
@lru_cache(maxsize=10)
|
169 |
def _get_vits_piper_en_US(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
|
|
|
170 |
n = len("vits-piper-")
|
171 |
name = repo_id.split("/")[1][n:]
|
172 |
|