Update app.py
Browse files
app.py
CHANGED
|
@@ -75,7 +75,7 @@ def process_image(image):
|
|
| 75 |
draw.rectangle(box, outline=label2color[predicted_label])
|
| 76 |
draw.text((box[0]+10, box[1]-10), text=predicted_label, fill=label2color[predicted_label], font=font)
|
| 77 |
|
| 78 |
-
return image,
|
| 79 |
|
| 80 |
|
| 81 |
title = "Invoice Extraction & Categorization"
|
|
|
|
| 75 |
draw.rectangle(box, outline=label2color[predicted_label])
|
| 76 |
draw.text((box[0]+10, box[1]-10), text=predicted_label, fill=label2color[predicted_label], font=font)
|
| 77 |
|
| 78 |
+
return image,encoding.keys()
|
| 79 |
|
| 80 |
|
| 81 |
title = "Invoice Extraction & Categorization"
|