Spaces:
Running
Running
Armandoliv
commited on
Commit
•
323f2e4
1
Parent(s):
8bf2a47
Update app.py
Browse files
app.py
CHANGED
@@ -176,7 +176,8 @@ def main_convert(filename):
|
|
176 |
im_out = lp.draw_box(img, detected, box_width=5, box_alpha=0.2, show_element_type=True)
|
177 |
print("Keys final")
|
178 |
print(dic_predicted.keys())
|
179 |
-
print(f"img_out {
|
|
|
180 |
return 'demo.docx', im_out, dic_predicted
|
181 |
|
182 |
|
|
|
176 |
im_out = lp.draw_box(img, detected, box_width=5, box_alpha=0.2, show_element_type=True)
|
177 |
print("Keys final")
|
178 |
print(dic_predicted.keys())
|
179 |
+
print(f"img_out {im_out}")
|
180 |
+
print(f"{im_out.shape}")
|
181 |
return 'demo.docx', im_out, dic_predicted
|
182 |
|
183 |
|