difuze / app.py
GlenJay2004's picture
Create app.py
1266cb8 verified
raw
history blame contribute delete
188 Bytes
from diffusers import StableDiffusionPipeline
import gradio as gr
pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4")
gr.Interface.from_pipeline(pipe).launch()