code_execution_files / lightx2v_Wan2.2-Distill-Models_0.txt
ariG23498's picture
ariG23498 HF Staff
Upload lightx2v_Wan2.2-Distill-Models_0.txt with huggingface_hub
10f5130 verified
raw
history blame
458 Bytes
```CODE:
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained("lightx2v/Wan2.2-Distill-Models")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]
```
ERROR:
Traceback (most recent call last):
File "/tmp/lightx2v_Wan2.2-Distill-Models_0SCZnqM.py", line 14, in <module>
from diffusers import DiffusionPipeline
ModuleNotFoundError: No module named 'diffusers'