Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,3 +10,4 @@ import yaml
|
|
10 |
from huggingface_hub import hf_hub_download
|
11 |
from ultralytics import YOLO
|
12 |
|
|
|
|
10 |
from huggingface_hub import hf_hub_download
|
11 |
from ultralytics import YOLO
|
12 |
|
13 |
+
device = torch.device('cuda') if torch.cuda.is_available() else torch.device('cpu')
|