akhaliq HF staff commited on
Commit
e248e22
1 Parent(s): 0f6574d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -102,6 +102,7 @@ def display_objdetect_image(image, boxes, labels, scores, masks, score_threshold
102
  ax.add_patch(rect)
103
 
104
  ax.imshow(image)
 
105
  plt.savefig('out.png', bbox_inches='tight')
106
 
107
 
 
102
  ax.add_patch(rect)
103
 
104
  ax.imshow(image)
105
+ plt.axis('off')
106
  plt.savefig('out.png', bbox_inches='tight')
107
 
108