We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a50901f commit a19e576Copy full SHA for a19e576
sherpa-onnx/csrc/vocoder.cc
@@ -100,9 +100,9 @@ std::unique_ptr<Vocoder> Vocoder::Create(Manager *mgr,
100
switch (model_type) {
101
case ModelType::kHifigan:
102
return std::make_unique<HifiganVocoder>(
103
- config.num_threads, config.provider, config.matcha.vocoder);
+ mgr, config.num_threads, config.provider, config.matcha.vocoder);
104
case ModelType::kVocoos:
105
- return std::make_unique<VocosVocoder>(config);
+ return std::make_unique<VocosVocoder>(mgr, config);
106
case ModelType::kUnknown:
107
SHERPA_ONNX_LOGE("Unknown model type in vocoder!");
108
return nullptr;
0 commit comments