Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -128,9 +128,9 @@ def server(input, output, session: Session):
|
|
| 128 |
alpha = input[id]())
|
| 129 |
ax.imshow(cv2.cvtColor(out.get_image()[:, :, ::-1], cv2.COLOR_BGR2RGB))
|
| 130 |
|
| 131 |
-
ax = plt.Axes(fig, [0., 0., 1., 1.])
|
| 132 |
ax.set_axis_off()
|
| 133 |
-
fig.add_axes(ax)
|
| 134 |
|
| 135 |
return fig
|
| 136 |
|
|
|
|
| 128 |
alpha = input[id]())
|
| 129 |
ax.imshow(cv2.cvtColor(out.get_image()[:, :, ::-1], cv2.COLOR_BGR2RGB))
|
| 130 |
|
| 131 |
+
# ax = plt.Axes(fig, [0., 0., 1., 1.])
|
| 132 |
ax.set_axis_off()
|
| 133 |
+
# fig.add_axes(ax)
|
| 134 |
|
| 135 |
return fig
|
| 136 |
|