chansung commited on
Commit
282e8e5
·
1 Parent(s): 0791266

update custom handler

Browse files
__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.generative.stable_diffusion.decoder import Decoder
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