| 44 | ParsedVevo2Route parse_route(const std::string & value) { |
| 45 | if (value == "zero_shot_tts") { |
| 46 | return {Vevo2InferencePath::TextProsodyToTargetVoice, Vevo2RouteKind::ZeroShotTts}; |
| 47 | } |
| 48 | if (value == "text_to_singing") { |
| 49 | return {Vevo2InferencePath::TextProsodyToTargetVoice, Vevo2RouteKind::TextToSinging}; |
| 50 | } |
| 51 | if (value == "svs") { |
| 52 | return {Vevo2InferencePath::TextProsodyToTargetVoice, Vevo2RouteKind::Svs}; |
| 53 | } |
| 54 | if (value == "style_preserved_vc") { |