| 30 | return assets; |
| 31 | } |
| 32 | |
| 33 | void reject_enabled_denoise( |
| 34 | const std::unordered_map<std::string, std::string> &options, |
| 35 | std::initializer_list<std::string_view> keys) { |
| 36 | const auto match = runtime::find_option_match(options, keys); |
| 37 | if (match.has_value() && |
| 38 | runtime::parse_bool_option(match->value, match->key)) { |
| 39 | throw std::runtime_error( |
| 40 | "VoxCPM2 denoise is disabled in this implementation"); |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | void reject_denoiser_option( |
no test coverage detected