Add C++ runtime for Matcha-TTS (#1627)
This commit is contained in:
@@ -273,4 +273,9 @@ Ort::SessionOptions GetSessionOptions(const OnlineLMConfig &config) {
|
||||
return GetSessionOptionsImpl(config.lm_num_threads, config.lm_provider);
|
||||
}
|
||||
|
||||
Ort::SessionOptions GetSessionOptions(int32_t num_threads,
|
||||
const std::string &provider_str) {
|
||||
return GetSessionOptionsImpl(num_threads, provider_str);
|
||||
}
|
||||
|
||||
} // namespace sherpa_onnx
|
||||
|
||||
Reference in New Issue
Block a user