Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +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:
|
|
|
6 |
|
7 |
# Check if GPU is available
|
8 |
use_gpu = torch.cuda.is_available()
|
9 |
+
|
10 |
|
11 |
# Configure the pipeline to use the GPU if available
|
12 |
if use_gpu:
|