jatamura commited on
Commit
b6fb2a7
·
verified ·
1 Parent(s): 8e849c6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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