Skip to content

Commit

Permalink
tts : small QoL for easy model fetch (#10903)
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov authored Dec 19, 2024
1 parent 57bb2c4 commit 36319de
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions common/arg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2206,5 +2206,17 @@ common_params_context common_params_parser_init(common_params & params, llama_ex
}
).set_examples({LLAMA_EXAMPLE_TTS, LLAMA_EXAMPLE_SERVER}));

// model-specific
add_opt(common_arg(
{"--tts-oute-default"},
string_format("use default OuteTTS models (note: can download weights from the internet)"),
[](common_params & params) {
params.hf_repo = "OuteAI/OuteTTS-0.2-500M-GGUF";
params.hf_file = "OuteTTS-0.2-500M-Q8_0.gguf";
params.vocoder.hf_repo = "ggml-org/WavTokenizer";
params.vocoder.hf_file = "WavTokenizer-Large-75-F16.gguf";
}
).set_examples({LLAMA_EXAMPLE_TTS}));

return ctx_arg;
}

0 comments on commit 36319de

Please sign in to comment.