Spaces:
Running
on
Zero
Running
on
Zero
Update gradio_mix.py
Browse files- 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:
|