Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -4,10 +4,9 @@ from diffusers import StableDiffusionXLPipeline, EulerDiscreteScheduler
|
|
| 4 |
from huggingface_hub import hf_hub_download
|
| 5 |
from safetensors.torch import load_file
|
| 6 |
import spaces
|
| 7 |
-
import os
|
| 8 |
from PIL import Image
|
| 9 |
|
| 10 |
-
SAFETY_CHECKER =
|
| 11 |
|
| 12 |
# Constants
|
| 13 |
base = "stabilityai/stable-diffusion-xl-base-1.0"
|
|
|
|
| 4 |
from huggingface_hub import hf_hub_download
|
| 5 |
from safetensors.torch import load_file
|
| 6 |
import spaces
|
|
|
|
| 7 |
from PIL import Image
|
| 8 |
|
| 9 |
+
SAFETY_CHECKER = True
|
| 10 |
|
| 11 |
# Constants
|
| 12 |
base = "stabilityai/stable-diffusion-xl-base-1.0"
|