Chaerin5 commited on
Commit
b23e774
·
1 Parent(s): ace0ba5

runtime fix

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -240,7 +240,7 @@ else:
240
  autoencoder.eval()
241
  assert len(missing_keys) == 0 and len(extra_keys) == 0
242
  sam_path = hf_hub_download(repo_id="Chaerin5/FoundHand-weights", filename="sam_vit_h_4b8939.pth")
243
- sam_predictor = init_sam(ckpt_path="./sam_vit_h_4b8939.pth", device=device)
244
 
245
 
246
  print("Mediapipe hand detector and SAM ready...")
 
240
  autoencoder.eval()
241
  assert len(missing_keys) == 0 and len(extra_keys) == 0
242
  sam_path = hf_hub_download(repo_id="Chaerin5/FoundHand-weights", filename="sam_vit_h_4b8939.pth")
243
+ sam_predictor = init_sam(ckpt_path=sam_path, device=device)
244
 
245
 
246
  print("Mediapipe hand detector and SAM ready...")