update custom handler
Browse files- __pycache__/handler.cpython-38.pyc +0 -0
- handler.py +1 -1
- requirements.txt +2 -2
__pycache__/handler.cpython-38.pyc
CHANGED
|
Binary files a/__pycache__/handler.cpython-38.pyc and b/__pycache__/handler.cpython-38.pyc differ
|
|
|
handler.py
CHANGED
|
@@ -4,7 +4,7 @@ import base64
|
|
| 4 |
import numpy as np
|
| 5 |
import tensorflow as tf
|
| 6 |
from tensorflow import keras
|
| 7 |
-
from keras_cv.models.
|
| 8 |
|
| 9 |
class EndpointHandler():
|
| 10 |
def __init__(self, path=""):
|
|
|
|
| 4 |
import numpy as np
|
| 5 |
import tensorflow as tf
|
| 6 |
from tensorflow import keras
|
| 7 |
+
from keras_cv.models.stable_diffusion.decoder import Decoder
|
| 8 |
|
| 9 |
class EndpointHandler():
|
| 10 |
def __init__(self, path=""):
|
requirements.txt
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
-
keras-cv
|
| 2 |
-
tensorflow
|
| 3 |
tensorflow_datasets
|
|
|
|
| 1 |
+
keras-cv==0.4
|
| 2 |
+
tensorflow==2.11
|
| 3 |
tensorflow_datasets
|