Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,9 @@ import os
|
|
| 7 |
from huggingface_hub import hf_hub_download
|
| 8 |
from diffusers import StableDiffusionXLPipeline, AutoencoderKL, EulerAncestralDiscreteScheduler
|
| 9 |
from compel import Compel, ReturnedEmbeddingsType
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
# =====================================
|
| 12 |
# Prompt weights
|
|
|
|
| 7 |
from huggingface_hub import hf_hub_download
|
| 8 |
from diffusers import StableDiffusionXLPipeline, AutoencoderKL, EulerAncestralDiscreteScheduler
|
| 9 |
from compel import Compel, ReturnedEmbeddingsType
|
| 10 |
+
from PIL import Image, PngImagePlugin
|
| 11 |
+
import json
|
| 12 |
+
import io
|
| 13 |
|
| 14 |
# =====================================
|
| 15 |
# Prompt weights
|