add custom handler
Browse files- __pycache__/handler.cpython-38.pyc +0 -0
- handler.py +1 -1
__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
|
@@ -9,7 +9,7 @@ from tensorflow import keras
|
|
| 9 |
from keras_cv.models.generative.stable_diffusion.constants import _ALPHAS_CUMPROD
|
| 10 |
from keras_cv.models.generative.stable_diffusion.diffusion_model import DiffusionModel
|
| 11 |
|
| 12 |
-
class
|
| 13 |
def __init__(self, path=""):
|
| 14 |
self.seed = None
|
| 15 |
|
|
|
|
| 9 |
from keras_cv.models.generative.stable_diffusion.constants import _ALPHAS_CUMPROD
|
| 10 |
from keras_cv.models.generative.stable_diffusion.diffusion_model import DiffusionModel
|
| 11 |
|
| 12 |
+
class EndpointHandler():
|
| 13 |
def __init__(self, path=""):
|
| 14 |
self.seed = None
|
| 15 |
|