a / app.py
karyappa's picture
Create app.py
d337d29 verified
raw
history blame contribute delete
216 Bytes
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained("THUDM/CogVideoX-2b")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]