AP123 commited on
Commit
6914f7a
1 Parent(s): a2f5ebe

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
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 # <-- Added import
 
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