Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
paroksh-mason
/
StableDiffusionPipeline
like
0
Sleeping
App
Files
Files
Community
paroksh-mason
commited on
Jun 23
Commit
6ba436d
•
1 Parent(s):
6cf309d
Adding gradio interface using stable diffusion pipeline
Browse files
Files changed (1)
hide
show
app.py
+6
-0
app.py
ADDED
Viewed
@@ -0,0 +1,6 @@
1
+
from diffusers import StableDiffusionPipeline
2
+
import gradio as gr
3
+
4
+
pipe = StableDiffusionPipeline.from_pretrained("CompVis/stable-diffusion-v1-4")
5
+
6
+
gr.Interface.from_pipeline(pipe).launch()