csukuangfj commited on
Commit
97b59f3
·
1 Parent(s): c158d17
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -290,7 +290,7 @@ def _get_matcha_hf(repo_id: str, speed: float) -> sherpa_onnx.OfflineTts:
290
 
291
  tts_config = sherpa_onnx.OfflineTtsConfig(
292
  model=sherpa_onnx.OfflineTtsModelConfig(
293
- vits=sherpa_onnx.OfflineTtsMatchaModelConfig(
294
  acoustic_model=acoustic_model,
295
  vocoder=vocoder,
296
  lexicon=lexicon,
 
290
 
291
  tts_config = sherpa_onnx.OfflineTtsConfig(
292
  model=sherpa_onnx.OfflineTtsModelConfig(
293
+ matcha=sherpa_onnx.OfflineTtsMatchaModelConfig(
294
  acoustic_model=acoustic_model,
295
  vocoder=vocoder,
296
  lexicon=lexicon,