From de4f28f3d78bc6b71b1e01ddd0b9f570989c2960 Mon Sep 17 00:00:00 2001 From: Cavit Erginsoy Date: Mon, 20 Jan 2025 22:07:17 +0000 Subject: [PATCH] Remove redundant type=str from audio argument since argparse handles strings by default --- whisper/mlx_whisper/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whisper/mlx_whisper/cli.py b/whisper/mlx_whisper/cli.py index e40466d3..f7b5faa3 100644 --- a/whisper/mlx_whisper/cli.py +++ b/whisper/mlx_whisper/cli.py @@ -42,7 +42,7 @@ def build_parser(): 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( "--model",