update examples

This commit is contained in:
Artiprocher
2025-02-26 10:25:36 +08:00
parent 020560d2b5
commit bed770248b
3 changed files with 9 additions and 11 deletions

View File

@@ -5,7 +5,7 @@ from PIL import Image
# Download models
snapshot_download("Wan-AI/Wan2.1-I2V-14B-480P", cache_dir="models")
snapshot_download("Wan-AI/Wan2.1-I2V-14B-480P", local_dir="models/Wan-AI/Wan2.1-I2V-14B-480P")
# Load models
model_manager = ModelManager(device="cpu")