gradio / upscaler.py
reisarod's picture
Upload folder using huggingface_hub
5fae594 verified
raw
history blame
234 Bytes
from diffusers import DiffusionPipeline
pipe = DiffusionPipeline.from_pretrained("alimama-creative/FLUX.1-Turbo-Alpha")
prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]