MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / resolve_codec_model_path

Function resolve_codec_model_path

src/models/miotts/session.cpp:93–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91}
92
93std::filesystem::path resolve_codec_model_path(const runtime::SessionOptions & options, const MioTTSAssets & assets) {
94 if (const auto value = runtime::find_option(options.options, {"miotts.codec_model_path"})) {
95 return std::filesystem::path(*value);
96 }
97 return default_codec_model_path(assets.resources.model_root());
98}
99
100std::filesystem::path resolve_best_of_n_asr_model_path(
101 const runtime::SessionOptions & options,

Callers 1

MioTTSSessionMethod · 0.85

Calls 2

find_optionFunction · 0.85
default_codec_model_pathFunction · 0.85

Tested by

no test coverage detected