Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -11,7 +11,7 @@ import colorsys
|
|
11 |
|
12 |
sam_checkpoint = "sam_vit_h_4b8939.pth"
|
13 |
model_type = "vit_h"
|
14 |
-
device = "
|
15 |
|
16 |
|
17 |
sam = sam_model_registry[model_type](checkpoint=sam_checkpoint)
|
|
|
11 |
|
12 |
sam_checkpoint = "sam_vit_h_4b8939.pth"
|
13 |
model_type = "vit_h"
|
14 |
+
device = "cpu"
|
15 |
|
16 |
|
17 |
sam = sam_model_registry[model_type](checkpoint=sam_checkpoint)
|