Spaces:
Build error
Build error
FIX: uses cuda by default
Browse files
SegmentAnything2AssistApp.py
CHANGED
|
@@ -50,7 +50,7 @@ DEBUG = False
|
|
| 50 |
|
| 51 |
|
| 52 |
segment_anything2assist = SegmentAnything2Assist.SegmentAnything2Assist(
|
| 53 |
-
model_name="sam2_hiera_tiny", device=torch.device("
|
| 54 |
)
|
| 55 |
|
| 56 |
|
|
|
|
| 50 |
|
| 51 |
|
| 52 |
segment_anything2assist = SegmentAnything2Assist.SegmentAnything2Assist(
|
| 53 |
+
model_name="sam2_hiera_tiny", device=torch.device("cuda")
|
| 54 |
)
|
| 55 |
|
| 56 |
|