Atualli commited on
Commit
ab0ee30
1 Parent(s): d90ef6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -46,7 +46,8 @@ def draw_entity_boxes_on_image(image, entities, show=False, save_path=None, enti
46
  image (_type_): image or image path
47
  collect_entity_location (_type_): _description_
48
  """
49
-
 
50
  if isinstance(image, Image.Image):
51
  image_h = image.height
52
  image_w = image.width
 
46
  image (_type_): image or image path
47
  collect_entity_location (_type_): _description_
48
  """
49
+ return image
50
+
51
  if isinstance(image, Image.Image):
52
  image_h = image.height
53
  image_w = image.width