paroksh-mason's picture
Adding gradio interface using stable diffusion pipeline
6ba436d verified
raw
history blame contribute delete
189 Bytes
from diffusers import StableDiffusionPipeline
import gradio as gr
pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4")
gr.Interface.from_pipeline(pipe).launch()