Ammar-alhaj-ali commited on
Commit
6806c4d
1 Parent(s): bf3d8c9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -84,7 +84,6 @@ def process_image(image):
84
  for prediction, box in zip(true_predictions, true_boxes):
85
  predicted_label = iob_to_label(prediction)
86
  draw.rectangle(box, outline=label2color[predicted_label]) #label2color[predicted_label]
87
- print(predicted_label)
88
  draw.text((box[0]+10, box[1]-10), text=predicted_label, fill=label2color[predicted_label], font=font) #label2color[predicted_label]
89
 
90
  return image
 
84
  for prediction, box in zip(true_predictions, true_boxes):
85
  predicted_label = iob_to_label(prediction)
86
  draw.rectangle(box, outline=label2color[predicted_label]) #label2color[predicted_label]
 
87
  draw.text((box[0]+10, box[1]-10), text=predicted_label, fill=label2color[predicted_label], font=font) #label2color[predicted_label]
88
 
89
  return image