Skip to content

Commit

Permalink
WhsiperX fix device type #77
Browse files Browse the repository at this point in the history
  • Loading branch information
abdeladim-s committed Oct 29, 2023
1 parent 0170d61 commit a6403a6
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 @@ -33,8 +33,8 @@ class WhisperXModel(AbstractModel):
},
'device': {
'type': list,
'description': "The PyTorch device to put the model into",
'options': [*get_available_devices()],
'description': 'Device to use for computation ("cpu", "cuda")',
'options': ['cpu', 'cuda'],
'default': 'cpu'
},
'compute_type': {
Expand Down

0 comments on commit a6403a6

Please sign in to comment.