WAN2.1-VACE / download_models.sh
oKen38461's picture
app.pyで画像のアップロード処理を一時ディレクトリに保存するように変更し、動画生成と画像生成の機能を改善しました。また、download_models.shにリポジトリのクローン処理を追加し、requirements.txtに新しい依存関係を追加しました。wan_runner.pyでは、エラーハンドリングを強化し、Wan2.1とVACEのインストール確認機能を追加しました。
24d2e2b
raw
history blame
689 Bytes
#!/bin/bash
set -e
echo "Setting up Wan2.1 VACE environment..."
# Clone repositories if they don't exist
if [ ! -d "Wan2.1" ]; then
echo "Cloning Wan2.1 repository..."
git clone https://github.com/Wan-Video/Wan2.1.git
fi
if [ ! -d "VACE" ]; then
echo "Cloning VACE repository..."
git clone https://github.com/ali-vilab/VACE.git
fi
# Download model weights
echo "Downloading model weights..."
huggingface-cli download Wan-AI/Wan2.1-VACE-1.3B \
--local-dir Wan2.1-VACE-1.3B \
--local-dir-use-symlinks False
huggingface-cli download Wan-AI/Wan2.1-FLF2V-14B-720P \
--local-dir Wan2.1-FLF2V-14B-720P \
--local-dir-use-symlinks False
echo "Setup complete!"