Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ import torch
|
|
5 |
import os
|
6 |
|
7 |
model = ""
|
8 |
-
duration =
|
9 |
print(f"Is CUDA available: {torch.cuda.is_available()}")
|
10 |
print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
11 |
|
|
|
5 |
import os
|
6 |
|
7 |
model = ""
|
8 |
+
duration = 1
|
9 |
print(f"Is CUDA available: {torch.cuda.is_available()}")
|
10 |
print(f"CUDA device: {torch.cuda.get_device_name(torch.cuda.current_device())}")
|
11 |
|