not-lain commited on
Commit
a214553
·
verified ·
1 Parent(s): ef7decd

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -38,7 +38,7 @@ class EndpointHandler():
38
  Return:
39
  A :obj:`list` | `dict`: will be serialized and returned
40
  """
41
- print('data["inputs"]',data["inputs"])
42
  image = load_img(data["inputs"]).convert("RGB")
43
  image_size = image.size
44
  input_images = transform_image(image).unsqueeze(0).to("cuda")
 
38
  Return:
39
  A :obj:`list` | `dict`: will be serialized and returned
40
  """
41
+ print('data["inputs"] = ',data["inputs"])
42
  image = load_img(data["inputs"]).convert("RGB")
43
  image_size = image.size
44
  input_images = transform_image(image).unsqueeze(0).to("cuda")