Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -42,7 +42,8 @@ pipe = ComposableStableDiffusionPipeline.from_pretrained(
|
|
| 42 |
"CompVis/stable-diffusion-v1-4",
|
| 43 |
).to(device)
|
| 44 |
|
| 45 |
-
|
|
|
|
| 46 |
|
| 47 |
# create model for CLEVR Objects
|
| 48 |
clevr_options = model_and_diffusion_defaults_for_clevr()
|
|
|
|
| 42 |
"CompVis/stable-diffusion-v1-4",
|
| 43 |
).to(device)
|
| 44 |
|
| 45 |
+
# uncomment to disable safety_checker
|
| 46 |
+
# pipe.safety_checker = None
|
| 47 |
|
| 48 |
# create model for CLEVR Objects
|
| 49 |
clevr_options = model_and_diffusion_defaults_for_clevr()
|