Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
import os
|
2 |
|
3 |
-
os.system("
|
|
|
|
|
4 |
os.system("huggingface-cli download Wan-AI/Wan2.1-T2V-14B --local-dir ./Wan2.1-T2V-14B")
|
5 |
os.system('''python generate.py --task t2v-1.3B --size 832*480 --ckpt_dir ./Wan2.1-T2V-1.3B --offload_model True \
|
6 |
--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."''')
|
|
|
1 |
import os
|
2 |
|
3 |
+
os.system("git clone https://github.com/Wan-Video/Wan2.1.git")
|
4 |
+
os.system("cd Wan2.1")
|
5 |
+
os.system("pip install -r requirements.txt")
|
6 |
os.system("huggingface-cli download Wan-AI/Wan2.1-T2V-14B --local-dir ./Wan2.1-T2V-14B")
|
7 |
os.system('''python generate.py --task t2v-1.3B --size 832*480 --ckpt_dir ./Wan2.1-T2V-1.3B --offload_model True \
|
8 |
--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."''')
|