sshi commited on
Commit
94e2de2
1 Parent(s): f6b2407

App bug fix.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -113,7 +113,7 @@ def plot_results(pil_img, prob, boxes):
113
  fill=c)
114
  # ax.text(xmin, ymin, text, fontsize=10,
115
  # bbox=dict(facecolor=c, alpha=0.5))
116
- return Image.fromarray(pil_img[:,:,::-1])
117
  # return fig
118
 
119
 
 
113
  fill=c)
114
  # ax.text(xmin, ymin, text, fontsize=10,
115
  # bbox=dict(facecolor=c, alpha=0.5))
116
+ return pil_img
117
  # return fig
118
 
119