aje6 commited on
Commit
c1ff828
·
verified ·
1 Parent(s): cee1c36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -256,7 +256,7 @@ def predict(image):
256
  results = model(image)
257
  print(type(results))
258
  print(results)
259
- annotated_img = results.plot()
260
  return annotated_img
261
 
262
  # Gradio interface
 
256
  results = model(image)
257
  print(type(results))
258
  print(results)
259
+ annotated_img = results[0].plot()
260
  return annotated_img
261
 
262
  # Gradio interface