Approximetal commited on
Commit
b4cd6fe
·
verified ·
1 Parent(s): 1cec52c

Update gradio_mix.py

Browse files
Files changed (1) hide show
  1. gradio_mix.py +0 -2
gradio_mix.py CHANGED
@@ -429,8 +429,6 @@ class WhisperxModel:
429
  # Lazily construct the WhisperX pipeline.
430
  self.model_name = model_name
431
  self.model = None
432
- # In HF Spaces ZeroGPU, CUDA/cuDNN may not be fully available for
433
- # WhisperX, so we force CPU there. Locally, prefer CUDA if available.
434
  if IS_SPACES:
435
  self.device = "cpu"
436
  else:
 
429
  # Lazily construct the WhisperX pipeline.
430
  self.model_name = model_name
431
  self.model = None
 
 
432
  if IS_SPACES:
433
  self.device = "cpu"
434
  else: