Update handler.py
Browse files- handler.py +1 -0
handler.py
CHANGED
|
@@ -3,6 +3,7 @@ from diffusers import StableDiffusionXLPipeline, DiffusionPipeline, AutoencoderK
|
|
| 3 |
from PIL import Image
|
| 4 |
from io import BytesIO
|
| 5 |
from typing import Dict, List, Any
|
|
|
|
| 6 |
|
| 7 |
class EndpointHandler():
|
| 8 |
def __init__(self, path=""):
|
|
|
|
| 3 |
from PIL import Image
|
| 4 |
from io import BytesIO
|
| 5 |
from typing import Dict, List, Any
|
| 6 |
+
import base64
|
| 7 |
|
| 8 |
class EndpointHandler():
|
| 9 |
def __init__(self, path=""):
|