Skip to content

Commit

Permalink
whisperX available devices #67
Browse files Browse the repository at this point in the history
  • Loading branch information
abdeladim-s committed Aug 28, 2023
1 parent 854543a commit 57bef37
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/subsai/models/whisperX_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ class WhisperXModel(AbstractModel):
'device': {
'type': list,
'description': "The PyTorch device to put the model into",
'options': ['cpu', 'cuda'],
'default': 'cpu'
'options': [None, *get_available_devices()],
'default': None
},
'compute_type': {
'type': list,
Expand Down

0 comments on commit 57bef37

Please sign in to comment.