Spaces:
Running
Running
Commit
·
b97bf85
1
Parent(s):
47687e7
Update app.py
Browse files
app.py
CHANGED
@@ -170,7 +170,7 @@ def main_convert(filename):
|
|
170 |
|
171 |
im_out = lp.draw_box(img, detected, box_width=5, box_alpha=0.2, show_element_type=True)
|
172 |
|
173 |
-
return
|
174 |
|
175 |
|
176 |
inputs = [gr.File(type='file', label="Original PDF File")]
|
|
|
170 |
|
171 |
im_out = lp.draw_box(img, detected, box_width=5, box_alpha=0.2, show_element_type=True)
|
172 |
|
173 |
+
return 'demo.docx', im_out, dic_predicted
|
174 |
|
175 |
|
176 |
inputs = [gr.File(type='file', label="Original PDF File")]
|