Update app.py
Browse files
app.py
CHANGED
@@ -186,9 +186,9 @@ def label_to_color_image(label):
|
|
186 |
return colormap[label]
|
187 |
|
188 |
def draw_plot(pred_img, seg):
|
189 |
-
fig = plt.figure(figsize=(
|
190 |
|
191 |
-
grid_spec = gridspec.GridSpec(
|
192 |
|
193 |
plt.subplot(grid_spec[0])
|
194 |
plt.imshow(pred_img)
|
|
|
186 |
return colormap[label]
|
187 |
|
188 |
def draw_plot(pred_img, seg):
|
189 |
+
fig = plt.figure(figsize=(15, 10))
|
190 |
|
191 |
+
grid_spec = gridspec.GridSpec(2, 1, width_ratios=[6, 1])
|
192 |
|
193 |
plt.subplot(grid_spec[0])
|
194 |
plt.imshow(pred_img)
|