Spaces:
Runtime error
Runtime error
runtime fix
Browse files
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=
|
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...")
|