Spaces:
Configuration error
Configuration error
EFFICIENTVIT_SAM_URL := "https://huggingface.co/han-cai/efficientvit-sam/resolve/main" | |
EFFICIENTVIT_SAM_MODEL := "xl1.pt" | |
define download | |
@if [ ! -f $(2) ]; then \ | |
echo "Download $(2)..."; \ | |
wget "$(1)/$(2)"; \ | |
fi | |
endef | |
setup: | |
pip install -r requirements.txt | |
model: | |
$(call download,$(EFFICIENTVIT_SAM_URL),$(EFFICIENTVIT_SAM_MODEL)) | |