bmay commited on
Commit
cafc1d1
·
verified ·
1 Parent(s): 939a9a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -48,7 +48,7 @@ def run_theia(image):
48
  )
49
 
50
  _, width, _ = theia_decode_results[0].shape
51
- theia_decode_results = (255.0 * theia_decode_results[0]).astype(np.uint8)[:, width // 4):, :]
52
  gt_decode_results = (255.0 * gt_decode_results[0]).astype(np.uint8)[:, width // 4:, :]
53
 
54
  return [theia_decode_results, gt_decode_results]
 
48
  )
49
 
50
  _, width, _ = theia_decode_results[0].shape
51
+ theia_decode_results = (255.0 * theia_decode_results[0]).astype(np.uint8)[:, width // 4:, :]
52
  gt_decode_results = (255.0 * gt_decode_results[0]).astype(np.uint8)[:, width // 4:, :]
53
 
54
  return [theia_decode_results, gt_decode_results]