Spaces:
Runtime error
Runtime error
import os | |
commands = [ | |
'echo "Downloading LLavacheckpoints..."', | |
'wget -c https://huggingface.co/cjpais/llava-1.6-mistral-7b-gguf/resolve/main/llava-v1.6-mistral-7b.Q5_K_M.gguf -P ./models/LLavacheckpoints/', | |
'wget -c https://huggingface.co/NousResearch/Meta-Llama-3-8B-Instruct-GGUF/resolve/main/Meta-Llama-3-8B-Instruct-Q5_K_M.gguf -P ./models/LLavacheckpoints/', | |
'echo "Downloading IPAdapter Plus..."', | |
'mkdir -p ./models/ipadapter', | |
'wget -c https://huggingface.co/h94/IP-Adapter/resolve/main/sdxl_models/ip-adapter-plus-face_sdxl_vit-h.safetensors -P ./models/ipadapter', | |
'wget -c https://huggingface.co/h94/IP-Adapter/resolve/main/sdxl_models/ip-adapter-plus_sdxl_vit-h.safetensors -P ./models/ipadapter', | |
'echo "Downloading ClipVision..."', | |
'wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/CLIP-ViT-H-14-laion2B-s32B-b79K.safetensors -P ./models/clip_vision/', | |
'wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/sd15_model.safetensors -P ./models/clip_vision/', | |
'echo "Downloading Lora..."', | |
'wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/lcm-lora-sdv1-5.safetensors -P ./models/loras/', | |
'wget -c https://huggingface.co/ArtGAN/Controlnet/resolve/main/lcm-lora-sdxl.safetensors -P ./models/loras/', | |
'echo "Downloading Motion Lora..."', | |
'wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_PanLeft.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/', | |
'wget -c https://huggingface.co/guoyww/animatediff/resolve/main/v2_lora_PanRight.ckpt -P ./custom_nodes/ComfyUI-AnimateDiff-Evolved/motion_lora/', | |
'echo "Downloading BiRefNet..."', | |
'cd models && git clone https://huggingface.co/ViperYX/BiRefNet', | |
'echo "Done"', | |
'python main.py --listen 0.0.0.0 --port 7860 --output-directory ${USE_PERSISTENT_DATA:+/data/}' | |
] | |
for cmd in commands: | |
os.system(cmd) | |