ydshieh HF staff commited on
Commit
4933944
1 Parent(s): 26cc724

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -201,7 +201,7 @@ def main():
201
  # By default, the generated text is cleanup and the entities are extracted.
202
  processed_text, entities = processor.post_processor_generation(generated_text)
203
 
204
- annotated_image = draw_entity_boxes_on_image(image_input, entities, show=True)
205
 
206
  color_id = -1
207
  entity_info = []
 
201
  # By default, the generated text is cleanup and the entities are extracted.
202
  processed_text, entities = processor.post_processor_generation(generated_text)
203
 
204
+ annotated_image = draw_entity_boxes_on_image(image_input, entities, show=False)
205
 
206
  color_id = -1
207
  entity_info = []