ham / app.py
Peter07008's picture
Create app.py
b82ba41 verified
raw
history blame
241 Bytes
huggingface-cli login from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained("stabilityai/sv4d")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]