csukuangfj commited on
Commit
0969649
1 Parent(s): ebb01fc

small fixes

Browse files
Files changed (2) hide show
  1. model.py +2 -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=False,
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=False,
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
2
  soundfile
 
1
+ sherpa-onnx>=1.8.4
2
  soundfile