csukuangfj commited on
Commit
ddd8e79
1 Parent(s): 16988a0

disable rule far

Browse files
Files changed (1) hide show
  1. model.py +5 -5
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
- repo_id=repo_id,
279
- filename="rule.far",
280
- subfolder=".",
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(