File size: 189 Bytes
6ba436d
 
 
 
 
 
1
2
3
4
5
6
from diffusers import StableDiffusionPipeline
import gradio as gr

pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4")

gr.Interface.from_pipeline(pipe).launch()