| 87 | manifest.model_config.mimi_encoder_upsample_stride, |
| 88 | }; |
| 89 | } |
| 90 | |
| 91 | bool has_voice_selection(const VoiceConfig & voice) { |
| 92 | return !voice.preset_name.empty() |
| 93 | || !voice.embedding_path.empty() |
| 94 | || !voice.clone_audio_path.empty() |
| 95 | || voice.clone_audio.has_value(); |
| 96 | } |
| 97 |