Ahsen Khaliq commited on
Commit
bc3aebd
1 Parent(s): c8b967a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def inference(img):
38
  onnx_result = cv.cvtColor(onnx_result, cv.COLOR_RGB2BGR)
39
 
40
 
41
- img = cv2.cvtColor(onnx_result, cv2.COLOR_BGR2RGB)
42
  im_pil = Image.fromarray(img)
43
  return im_pil
44
 
 
38
  onnx_result = cv.cvtColor(onnx_result, cv.COLOR_RGB2BGR)
39
 
40
 
41
+ img = cv.cvtColor(onnx_result, cv.COLOR_BGR2RGB)
42
  im_pil = Image.fromarray(img)
43
  return im_pil
44