Sarah Yakum commited on
Commit
48355a5
1 Parent(s): 9e4bc7b
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -88,6 +88,6 @@ if file_name is not None:
88
  img = np.array(image) * 0.5 + color_seg * 0.5
89
  img = img.astype(np.uint8)
90
 
91
- fig = plt.figure(figsize=(15, 10))
92
  plt.title("Image with Segmentation")
93
- st.pyplot(fig)
 
88
  img = np.array(image) * 0.5 + color_seg * 0.5
89
  img = img.astype(np.uint8)
90
 
91
+ plt.figure(figsize=(15, 10))
92
  plt.title("Image with Segmentation")
93
+ st.pyplot(plt.gcf())