Update handler.py
Browse files- handler.py +2 -1
handler.py
CHANGED
|
@@ -3,7 +3,8 @@ from diffusers import StableDiffusionInstructPix2PixPipeline, EulerAncestralDisc
|
|
| 3 |
import base64
|
| 4 |
from io import BytesIO
|
| 5 |
from PIL import Image
|
| 6 |
-
from
|
|
|
|
| 7 |
|
| 8 |
class EndpointHandler():
|
| 9 |
def __init__(self, path=""):
|
|
|
|
| 3 |
import base64
|
| 4 |
from io import BytesIO
|
| 5 |
from PIL import Image
|
| 6 |
+
from scipy.spatial import KDTree
|
| 7 |
+
from webcolors import CSS3_HEX_TO_NAMES, hex_to_rgb, hex_to_name
|
| 8 |
|
| 9 |
class EndpointHandler():
|
| 10 |
def __init__(self, path=""):
|