omarelsayeed commited on
Commit
e059e1e
1 Parent(s): 27a5f83

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -60,7 +60,7 @@ def draw_bboxes_on_image(image_path, bboxes, classes, reading_order):
60
  }
61
 
62
  # Open the image using PIL
63
- image = Image.open(image_path)
64
 
65
  # Prepare to draw on the image
66
  draw = ImageDraw.Draw(image)
 
60
  }
61
 
62
  # Open the image using PIL
63
+ image = image_path
64
 
65
  # Prepare to draw on the image
66
  draw = ImageDraw.Draw(image)