Skip to content

Commit

Permalink
Add device cli parameter to model kwargs.
Browse files Browse the repository at this point in the history
  • Loading branch information
mahenning committed Nov 27, 2024
1 parent d00ec2d commit 2238150
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scraibe/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def str2bool(string):
'whisper_type':arg_dict.pop("whisper_type"),
'dia_model': arg_dict.pop("diarization_directory"),
'use_auth_token': arg_dict.pop("hf_token"),
'device': arg_dict.pop('inference_device')
}

if arg_dict["whisper_model_directory"]:
Expand Down

0 comments on commit 2238150

Please sign in to comment.