Update app.py
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from huggingface_hub import hf_hub_download
|
|
9 |
from segment_anything import SamPredictor, sam_model_registry
|
10 |
|
11 |
|
12 |
-
hf_hub_download(repo_id="vmoras/sam_api", filename="sam_vit_h.pth")
|
13 |
|
14 |
|
15 |
sam_checkpoint = "sam_vit_h.pth"
|
|
|
9 |
from segment_anything import SamPredictor, sam_model_registry
|
10 |
|
11 |
|
12 |
+
hf_hub_download(repo_id="vmoras/sam_api", token= os.environ.get('model_token'), filename="sam_vit_h.pth")
|
13 |
|
14 |
|
15 |
sam_checkpoint = "sam_vit_h.pth"
|