Update app.py
Browse files
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=
|
| 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 = []
|