File size: 514 Bytes
e64ba0a
 
7925934
 
 
e64ba0a
e78e34b
 
1
2
3
4
5
6
7
8
import os

os.system("git clone https://github.com/Wan-Video/Wan2.1.git")
os.system("cd Wan2.1")
os.system("pip install -r requirements.txt")
os.system("huggingface-cli download Wan-AI/Wan2.1-T2V-14B --local-dir ./Wan2.1-T2V-14B")
os.system('''python generate.py  --task t2v-1.3B --size 832*480 --ckpt_dir ./Wan2.1-T2V-1.3B --offload_model True \
--t5_cpu --sample_shift 8 --sample_guide_scale 6 --prompt "Two anthropomorphic cats in comfy boxing gear and bright gloves fight intensely on a spotlighted stage."''')