Spaces:
Runtime error
Runtime error
Sarah Yakum
commited on
Commit
•
9e4bc7b
1
Parent(s):
e759c10
commit
Browse files
app.py
CHANGED
@@ -88,7 +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 |
-
plt.figure(figsize=(15, 10))
|
92 |
plt.title("Image with Segmentation")
|
93 |
-
|
94 |
-
st.pyplot(img)
|
|
|
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)
|
|