Spaces:
Sleeping
Sleeping
csukuangfj
commited on
Commit
•
ddd8e79
1
Parent(s):
16988a0
disable rule far
Browse files
model.py
CHANGED
@@ -274,11 +274,11 @@ def _get_vits_hf(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
|
|
274 |
]
|
275 |
rule_fsts = ",".join(rule_fsts)
|
276 |
|
277 |
-
rule_fars = get_file(
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
)
|
282 |
vits_dict_dir = "/tmp/dict"
|
283 |
else:
|
284 |
rule_fsts = get_file(
|
|
|
274 |
]
|
275 |
rule_fsts = ",".join(rule_fsts)
|
276 |
|
277 |
+
# rule_fars = get_file(
|
278 |
+
# repo_id=repo_id,
|
279 |
+
# filename="rule.far",
|
280 |
+
# subfolder=".",
|
281 |
+
# )
|
282 |
vits_dict_dir = "/tmp/dict"
|
283 |
else:
|
284 |
rule_fsts = get_file(
|