Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ import os
|
|
10 |
|
11 |
# Load SAM and MiDaS models
|
12 |
def load_models():
|
13 |
-
sam_checkpoint = "
|
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 |
|