Remove redundant type=str from audio argument since argparse handles strings by default

This commit is contained in:
Cavit Erginsoy 2025-01-20 22:07:17 +00:00
parent 6850fce80e
commit de4f28f3d7

View File

@ -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",