Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ import ffmpeg # Make sure it's ffmpeg-python
|
|
6 |
|
7 |
# Check if GPU is available
|
8 |
use_gpu = torch.cuda.is_available()
|
9 |
-
|
10 |
# Configure the pipeline to use the GPU if available
|
11 |
if use_gpu:
|
12 |
p = pipeline("automatic-speech-recognition",
|
|
|
6 |
|
7 |
# Check if GPU is available
|
8 |
use_gpu = torch.cuda.is_available()
|
9 |
+
|
10 |
# Configure the pipeline to use the GPU if available
|
11 |
if use_gpu:
|
12 |
p = pipeline("automatic-speech-recognition",
|