Spaces:
Running
on
Zero
Running
on
Zero
update device to CUDA
Browse files
app.py
CHANGED
@@ -26,7 +26,7 @@ EXAMPLES = [
|
|
26 |
"https://media.roboflow.com/notebooks/examples/dog-4.jpeg"
|
27 |
]
|
28 |
|
29 |
-
DEVICE = torch.device("
|
30 |
|
31 |
FLORENCE_MODEL, FLORENCE_PROCESSOR = load_florence_model(device=DEVICE)
|
32 |
SAM_MODEL = load_sam_model(device=DEVICE)
|
|
|
26 |
"https://media.roboflow.com/notebooks/examples/dog-4.jpeg"
|
27 |
]
|
28 |
|
29 |
+
DEVICE = torch.device("cuda")
|
30 |
|
31 |
FLORENCE_MODEL, FLORENCE_PROCESSOR = load_florence_model(device=DEVICE)
|
32 |
SAM_MODEL = load_sam_model(device=DEVICE)
|