mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-29 06:54:39 +08:00
Remove redundant type=str from audio argument since argparse handles strings by default
This commit is contained in:
parent
6850fce80e
commit
de4f28f3d7
@ -42,7 +42,7 @@ def build_parser():
|
|||||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter
|
formatter_class=argparse.ArgumentDefaultsHelpFormatter
|
||||||
)
|
)
|
||||||
|
|
||||||
parser.add_argument("audio", nargs="+", type=str, help="Path(s) to audio file(s) or directories to transcribe")
|
parser.add_argument("audio", nargs="+", help="Path(s) to audio file(s) or directories to transcribe")
|
||||||
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--model",
|
"--model",
|
||||||
|
Loading…
Reference in New Issue
Block a user