Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import gradio as gr
|
|
4 |
from gradio import processing_utils, utils
|
5 |
from PIL import Image
|
6 |
import random
|
|
|
7 |
from diffusers import (
|
8 |
DiffusionPipeline,
|
9 |
AutoencoderKL,
|
@@ -13,7 +14,8 @@ from diffusers import (
|
|
13 |
StableDiffusionImg2ImgPipeline,
|
14 |
StableDiffusionControlNetImg2ImgPipeline,
|
15 |
DPMSolverMultistepScheduler, # <-- Added import
|
16 |
-
EulerDiscreteScheduler
|
|
|
17 |
)
|
18 |
import tempfile
|
19 |
import time
|
|
|
4 |
from gradio import processing_utils, utils
|
5 |
from PIL import Image
|
6 |
import random
|
7 |
+
|
8 |
from diffusers import (
|
9 |
DiffusionPipeline,
|
10 |
AutoencoderKL,
|
|
|
14 |
StableDiffusionImg2ImgPipeline,
|
15 |
StableDiffusionControlNetImg2ImgPipeline,
|
16 |
DPMSolverMultistepScheduler, # <-- Added import
|
17 |
+
EulerDiscreteScheduler, # <-- Added import (5/13)
|
18 |
+
StableDiffusionSafetyChecker# <-- Added import
|
19 |
)
|
20 |
import tempfile
|
21 |
import time
|