lakshmi082024 commited on
Commit
f48d218
·
verified ·
1 Parent(s): 676f7e2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -10,7 +10,7 @@ import os
10
 
11
  # Load SAM and MiDaS models
12
  def load_models():
13
- sam_checkpoint = "https://dl.fbaipublicfiles.com/segment_anything/sam_vit_h_4b8939.pth"
14
  if not os.path.exists(sam_checkpoint):
15
  raise FileNotFoundError("Please upload the SAM checkpoint file to the working directory.")
16
 
 
10
 
11
  # Load SAM and MiDaS models
12
  def load_models():
13
+ sam_checkpoint = "sam_vit_b_01ec64.pth"
14
  if not os.path.exists(sam_checkpoint):
15
  raise FileNotFoundError("Please upload the SAM checkpoint file to the working directory.")
16