nilor-upscale / distribute_models_wget.sh
LucasMoskun's picture
fix typos
e88560e
raw
history blame
1.82 kB
#!/bin/bash
# Define the base directory for models
base_directory="../models"
# Ensure directories exist
mkdir -p "$base_directory/clip_vision"
mkdir -p "$base_directory/controlnet"
mkdir -p "$base_directory/animatediff_models"
mkdir -p "$base_directory/upscale_models"
mkdir -p "$base_directory/ipadapter"
mkdir -p "$base_directory/checkpoints"
mkdir -p "$base_directory/vae"
mkdir -p "$base_directory/loras"
mkdir -p "$base_directory/animatediff_motion_lora"
# Download files to their respective directories
wget -P "$base_directory/clip_vision" "https://huggingface.co/datasets/nilor-corp/nilor-upscale/resolve/main/data/ip-adapter_image_encoder_sd15.safetensors"
wget -P "$base_directory/controlnet" "https://huggingface.co/datasets/nilor-corp/nilor-upscale/resolve/main/data/motion_controlnet_checkpoint.ckpt"
wget -P "$base_directory/animatediff_models" "https://huggingface.co/datasets/nilor-corp/nilor-upscale/resolve/main/data/AnimateLCM_sd15_t2v.ckpt"
wget -P "$base_directory/upscale_models" "https://huggingface.co/datasets/nilor-corp/nilor-upscale/resolve/main/data/4xLexicaDAT2_otf.pth"
wget -P "$base_directory/ipadapter" "https://huggingface.co/datasets/nilor-corp/nilor-upscale/resolve/main/data/ip-adapter-plus_sd15.safetensors"
wget -P "$base_directory/checkpoints" "https://huggingface.co/datasets/nilor-corp/nilor-upscale/resolve/main/data/photonLCM_v10.safetensors"
wget -P "$base_directory/vae" "https://huggingface.co/datasets/nilor-corp/nilor-upscale/resolve/main/data/vae-ft-mse-840000-ema-pruned.safetensors"
wget -P "$base_directory/loras" "https://huggingface.co/datasets/nilor-corp/nilor-upscale/resolve/main/data/lcm_lora_sd15.safetensors"
wget -P "$base_directory/animatediff_motion_lora" "https://huggingface.co/datasets/nilor-corp/nilor-upscale/resolve/main/data/WAS26.safetensors"