Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
CompVis
/
stable-diffusion-safety-checker
like
117
Follow
CompVis
1,106
Transformers
PyTorch
clip
Inference Endpoints
arxiv:
2103.00020
arxiv:
1910.09700
Model card
Files
Files and versions
Community
45
Train
Deploy
Use this model
Create README.md
#2
by
KinakoDon
- opened
Aug 25, 2022
base:
refs/heads/main
←
from:
refs/pr/2
Discussion
Files changed
+3
-0
Files changed (1)
hide
show
README.md
+3
-0
README.md
ADDED
Viewed
@@ -0,0 +1,3 @@
1
+
prompt = "cat in the dark room"
2
+
image = pipe(prompt)["sample"][0]
3
+
image.save(f"cat.png")