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

Function has_batch_input

app/cli/batch.cpp:252–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250} // namespace
251
252bool has_batch_input(int argc, char ** argv) {
253 int count = 0;
254 count += optional_path_arg(argc, argv, "--request-sequence").has_value() ? 1 : 0;
255 count += optional_path_arg(argc, argv, "--batch-text-file").has_value() ? 1 : 0;
256 count += optional_path_arg(argc, argv, "--batch-text-dir").has_value() ? 1 : 0;
257 count += optional_path_arg(argc, argv, "--batch-audio-dir").has_value() ? 1 : 0;
258 return count > 0;
259}
260
261minitts::app::AppBatchRequest build_batch_request_from_cli(
262 int argc,

Callers 1

mainFunction · 0.85

Calls 1

optional_path_argFunction · 0.85

Tested by

no test coverage detected