Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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]
|