Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -12,7 +12,7 @@ import random
|
|
12 |
|
13 |
import spaces
|
14 |
|
15 |
-
mobile_sam = sam_model_registry['vit_h'](checkpoint='data/ckpt/sam_vit_h_4b8939.pth')
|
16 |
mobile_sam.eval()
|
17 |
mobile_predictor = SamPredictor(mobile_sam)
|
18 |
colors = [(255, 0, 0), (0, 255, 0)]
|
|
|
12 |
|
13 |
import spaces
|
14 |
|
15 |
+
mobile_sam = sam_model_registry['vit_h'](checkpoint='data/ckpt/sam_vit_h_4b8939.pth')
|
16 |
mobile_sam.eval()
|
17 |
mobile_predictor = SamPredictor(mobile_sam)
|
18 |
colors = [(255, 0, 0), (0, 255, 0)]
|