yuragoithf commited on
Commit
2b16aa6
·
1 Parent(s): e67f4f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ def gen_pred(img, model=seg_model):
69
  # pil_img = Image.fromarray(pred, 'RGB')
70
 
71
  # importing Image from PIL
72
- img_tmp = cv2.cvtColor(pred, cv2.COLOR_BGR2RGB)
73
  im_PIL = Image.fromarray(img_tmp)
74
  # im = Image.fromarray((pred * 255).astype(np.uint8))
75
  # img_bytes = pred.tobytes()
 
69
  # pil_img = Image.fromarray(pred, 'RGB')
70
 
71
  # importing Image from PIL
72
+ # img_tmp = cv2.cvtColor(pred, cv2.COLOR_BGR2RGB)
73
  im_PIL = Image.fromarray(img_tmp)
74
  # im = Image.fromarray((pred * 255).astype(np.uint8))
75
  # img_bytes = pred.tobytes()