Skip to content

Commit a4d1119

Browse files
committed
Make --path mandatory
1 parent 8397b13 commit a4d1119

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmarks/decoders/benchmark_audio_decoders.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def decode_with_torchaudio_load(path: Path, backend: str) -> None:
8686

8787

8888
parser = ArgumentParser()
89-
parser.add_argument("--path", type=str, help="path to file")
89+
parser.add_argument("--path", type=str, help="path to file", required=True)
9090
parser.add_argument(
9191
"--num-exp",
9292
type=int,

0 commit comments

Comments
 (0)