| 91 | } |
| 92 | |
| 93 | std::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 | |
| 100 | std::filesystem::path resolve_best_of_n_asr_model_path( |
| 101 | const runtime::SessionOptions & options, |
no test coverage detected