Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -40,6 +40,8 @@ if __name__ == "__main__":
|
|
40 |
fig, (ax1, ax2) = plt.subplots(1, 2)
|
41 |
ax1.axis('off')
|
42 |
ax2.axis('off')
|
|
|
43 |
ax1.imshow(preds[0])
|
|
|
44 |
ax2.imshow(flows[0][0])
|
45 |
st.pyplot(fig)
|
|
|
40 |
fig, (ax1, ax2) = plt.subplots(1, 2)
|
41 |
ax1.axis('off')
|
42 |
ax2.axis('off')
|
43 |
+
ax1.set_title("Segmented image")
|
44 |
ax1.imshow(preds[0])
|
45 |
+
ax2.set_title("Image flows")
|
46 |
ax2.imshow(flows[0][0])
|
47 |
st.pyplot(fig)
|