Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,10 @@ import numpy
|
|
7 |
import uuid
|
8 |
import json
|
9 |
import os
|
|
|
10 |
from diffusers import StableDiffusionXLPipeline, ControlNetModel
|
11 |
from diffusers.models import AutoencoderKL
|
|
|
12 |
|
13 |
# Pre-Initialize
|
14 |
DEVICE = "auto"
|
|
|
7 |
import uuid
|
8 |
import json
|
9 |
import os
|
10 |
+
|
11 |
from diffusers import StableDiffusionXLPipeline, ControlNetModel
|
12 |
from diffusers.models import AutoencoderKL
|
13 |
+
from PIL import Image
|
14 |
|
15 |
# Pre-Initialize
|
16 |
DEVICE = "auto"
|