huyai123 commited on
Commit
5e1e631
·
verified ·
1 Parent(s): 822ef78

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +0 -6
handler.py CHANGED
@@ -50,9 +50,3 @@ class CustomHandler:
50
  ).images[0]
51
  # Postprocess output
52
  return self.postprocess(output_image)
53
-
54
-
55
- # Đảm bảo rằng bạn có thể sử dụng EndpointHandler từ module handler.
56
- class EndpointHandler(CustomHandler):
57
- def __init__(self, model_dir="huyai123/Flux.1-dev-Image-Upscaler"):
58
- super().__init__(model_dir)
 
50
  ).images[0]
51
  # Postprocess output
52
  return self.postprocess(output_image)