Instructions to use CompVis/stable-diffusion-safety-checker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CompVis/stable-diffusion-safety-checker with Transformers:
# Load model directly from transformers import AutoProcessor, SafetyChecker processor = AutoProcessor.from_pretrained("CompVis/stable-diffusion-safety-checker") model = SafetyChecker.from_pretrained("CompVis/stable-diffusion-safety-checker") - Notebooks
- Google Colab
- Kaggle
File size: 152 Bytes
f2fce27 | 1 2 3 | Prompt: In a cyberpunk city, a police car is on the street, raining, light effect, Simon Stalenhag, Ian McQue, Ghibli Studio, Beeple, Kaino University
|