We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ac3b7f commit b922e5eCopy full SHA for b922e5e
src/utils/diarize_nemo.py
@@ -1443,7 +1443,13 @@ def _tup(s):
1443
except Exception:
1444
pass
1445
1446
- if not args.audio_filepath and not args.dry_run: parser.error("the following arguments are required: audio_filepath")
+ # if not args.audio_filepath and not args.dry_run: parser.error("the following arguments are required: audio_filepath")
1447
+
1448
+ if args.audio_filepath is None and not args.dry_run:
1449
+ print(SCRIPT_BANNER, file=sys.stderr)
1450
+ parser.print_usage(sys.stderr)
1451
+ sys.exit(EXIT_CODE_CLI_ERROR)
1452
1453
args.device = (args.device or "").strip()
1454
1455
if not args.output_dir or args.output_dir == parser.get_default("output_dir"):
0 commit comments