Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
CompVis
/
stable-diffusion-safety-checker
like
126
Follow
CompVis
1.25k
Transformers
PyTorch
clip
Inference Endpoints
arxiv:
2103.00020
arxiv:
1910.09700
Model card
Files
Files and versions
Community
47
Train
Deploy
Use this model
47fecec
stable-diffusion-safety-checker
/
README.md
KinakoDon
Create README.md
47fecec
over 2 years ago
preview
code
|
raw
Copy download link
history
blame
Safe
88 Bytes
prompt = "cat in the dark room"
image = pipe(prompt)[
"sample"
][
0
]
image.save(f"cat.png")