| 250 | } // namespace |
| 251 | |
| 252 | bool 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 | |
| 261 | minitts::app::AppBatchRequest build_batch_request_from_cli( |
| 262 | int argc, |
no test coverage detected