panda1835 commited on
Commit
844a1bc
1 Parent(s): a2adb8a

Update handler.py

Browse files
Files changed (1) hide show
  1. handler.py +1 -1
handler.py CHANGED
@@ -50,7 +50,7 @@ class EndpointHandler():
50
  A :obj:`list` | `dict`: will be serialized and returned
51
  """
52
  # Get the prediction
53
- result = self.model(data['inputs'])
54
  # Get the original image with channel shifted
55
  img = result[0].orig_img[:,:,::-1]
56
  H, W, _ = img.shape
 
50
  A :obj:`list` | `dict`: will be serialized and returned
51
  """
52
  # Get the prediction
53
+ result = self.yolov8_model(data['inputs'])
54
  # Get the original image with channel shifted
55
  img = result[0].orig_img[:,:,::-1]
56
  H, W, _ = img.shape