code_execution_files / lightx2v_Qwen-Image-Lightning_0.txt
ariG23498's picture
ariG23498 HF Staff
Upload lightx2v_Qwen-Image-Lightning_0.txt with huggingface_hub
68a6e96 verified
raw
history blame
456 Bytes
```CODE:
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained("lightx2v/Qwen-Image-Lightning")
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_Qwen-Image-Lightning_0b7SZg7.py", line 14, in <module>
from diffusers import DiffusionPipeline
ModuleNotFoundError: No module named 'diffusers'