Skip to content

Commit b43996a

Browse files
ggerganovtinglou
authored andcommitted
tts : small QoL for easy model fetch (ggml-org#10903)
1 parent 3faaaad commit b43996a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

common/arg.cpp

+12
Original file line numberDiff line numberDiff line change
@@ -2206,5 +2206,17 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
22062206
}
22072207
).set_examples({LLAMA_EXAMPLE_TTS, LLAMA_EXAMPLE_SERVER}));
22082208

2209+
// model-specific
2210+
add_opt(common_arg(
2211+
{"--tts-oute-default"},
2212+
string_format("use default OuteTTS models (note: can download weights from the internet)"),
2213+
[](common_params & params) {
2214+
params.hf_repo = "OuteAI/OuteTTS-0.2-500M-GGUF";
2215+
params.hf_file = "OuteTTS-0.2-500M-Q8_0.gguf";
2216+
params.vocoder.hf_repo = "ggml-org/WavTokenizer";
2217+
params.vocoder.hf_file = "WavTokenizer-Large-75-F16.gguf";
2218+
}
2219+
).set_examples({LLAMA_EXAMPLE_TTS}));
2220+
22092221
return ctx_arg;
22102222
}

0 commit comments

Comments
 (0)