Add C++ runtime for MeloTTS (#1138)
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
#ifndef SHERPA_ONNX_CSRC_SESSION_H_
|
||||
#define SHERPA_ONNX_CSRC_SESSION_H_
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "onnxruntime_cxx_api.h" // NOLINT
|
||||
#include "sherpa-onnx/csrc/audio-tagging-model-config.h"
|
||||
#include "sherpa-onnx/csrc/offline-lm-config.h"
|
||||
@@ -25,7 +27,7 @@ namespace sherpa_onnx {
|
||||
Ort::SessionOptions GetSessionOptions(const OnlineModelConfig &config);
|
||||
|
||||
Ort::SessionOptions GetSessionOptions(const OnlineModelConfig &config,
|
||||
const std::string &model_type);
|
||||
const std::string &model_type);
|
||||
|
||||
Ort::SessionOptions GetSessionOptions(const OfflineModelConfig &config);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user