Spaces:
Sleeping
Sleeping
csukuangfj
commited on
Commit
•
0969649
1
Parent(s):
ebb01fc
small fixes
Browse files- model.py +2 -2
- requirements.txt +1 -1
model.py
CHANGED
@@ -64,7 +64,7 @@ def _get_vits_vctk(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
|
|
64 |
length_scale=1.0 / speed,
|
65 |
),
|
66 |
provider="cpu",
|
67 |
-
debug=
|
68 |
num_threads=2,
|
69 |
)
|
70 |
)
|
@@ -104,7 +104,7 @@ def _get_vits_zh_aishell3(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
|
|
104 |
length_scale=1.0 / speed,
|
105 |
),
|
106 |
provider="cpu",
|
107 |
-
debug=
|
108 |
num_threads=2,
|
109 |
)
|
110 |
)
|
|
|
64 |
length_scale=1.0 / speed,
|
65 |
),
|
66 |
provider="cpu",
|
67 |
+
debug=True,
|
68 |
num_threads=2,
|
69 |
)
|
70 |
)
|
|
|
104 |
length_scale=1.0 / speed,
|
105 |
),
|
106 |
provider="cpu",
|
107 |
+
debug=True,
|
108 |
num_threads=2,
|
109 |
)
|
110 |
)
|
requirements.txt
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
sherpa-onnx>=1.8.
|
2 |
soundfile
|
|
|
1 |
+
sherpa-onnx>=1.8.4
|
2 |
soundfile
|