jayyap commited on
Commit
0be15bc
·
1 Parent(s): 20c7685

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -103,7 +103,7 @@ class EndpointHandler():
103
  image = self.decode_base64_image(image)
104
  control_image = CONTROLNET_MAPPING[self.control_type]["hinter"](image)
105
 
106
- image = image.resize((256, 256))
107
 
108
  with torch.no_grad():
109
  # run inference pipeline
 
103
  image = self.decode_base64_image(image)
104
  control_image = CONTROLNET_MAPPING[self.control_type]["hinter"](image)
105
 
106
+ control_image = image.resize((512, 512))
107
 
108
  with torch.no_grad():
109
  # run inference pipeline