Skip to content

Commit

Permalink
refactor: remove unnecessary output_dir argument from command list
Browse files Browse the repository at this point in the history
  • Loading branch information
zackees committed Feb 1, 2025
1 parent d973f80 commit 6e3ad5d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/transcribe_anything/whisper_mac.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ def run_whisper_mac_english( # pylint: disable=too-many-arguments
if model:
cmd_list.append("--model")
cmd_list.append(model)
cmd_list.append("--output_dir")
cmd_list.append(str(output_dir))

# Remove the empty strings.
cmd_list = [str(x).strip() for x in cmd_list if str(x).strip()]
Expand Down

0 comments on commit 6e3ad5d

Please sign in to comment.