akhaliq HF staff commited on
Commit
a9171f2
β€’
1 Parent(s): d0a2f17

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -180,7 +180,7 @@ def detect(img):
180
 
181
  print(f'Done. ({time.time() - t0:.3f}s)')
182
 
183
- return Image.fromarray(im0)
184
 
185
  with torch.no_grad():
186
  if opt.update: # update all models (to fix SourceChangeWarning)
 
180
 
181
  print(f'Done. ({time.time() - t0:.3f}s)')
182
 
183
+ return Image.fromarray(im0[:,:,::-1])
184
 
185
  with torch.no_grad():
186
  if opt.update: # update all models (to fix SourceChangeWarning)