juxuan27 commited on
Commit
8d3b536
1 Parent(s): 7c682c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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').to("cuda")
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)]