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

Function parse_backend

app/cli/args.cpp:92–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90 keys.insert(arguments[i + 1].substr(0, separator));
91 }
92 ++i;
93 }
94 return keys;
95}
96
97} // namespace
98
99const std::unordered_map<std::string, std::string> & request_option_aliases() {
100 static const std::unordered_map<std::string, std::string> option_keys = {
101 {"--language", "language"},
102 {"--task-route", "route"},
103 {"--source-audio", "source_audio"},
104 {"--target-voice", "target_voice"},
105 {"--prosody-ref", "prosody_ref"},
106 {"--style-ref", "style_ref"},
107 {"--target-text", "target_text"},
108 {"--style-ref-text", "style_ref_text"},
109 {"--lyrics", "lyrics"},
110 {"--track-name", "track_name"},
111 {"--speaker", "speaker"},
112 {"--duration-seconds", "duration_sec"},

Callers 3

mainFunction · 0.70
parse_server_backendFunction · 0.50
parse_step_backendFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected