Spaces:
Runtime error
Runtime error
Output all tables (#4)
Browse files- Output all tables (40fe09a2fbbb8b4ec1573864c28994129156900e)
Co-authored-by: Michael Sladoje <sladomic@users.noreply.huggingface.co>
app.py
CHANGED
@@ -153,7 +153,7 @@ def prepare_output(dp, add_table, add_ocr):
|
|
153 |
if add_table:
|
154 |
html_list = [table.html for table in dp.tables]
|
155 |
if html_list:
|
156 |
-
html = html_list
|
157 |
else:
|
158 |
html = None
|
159 |
else:
|
|
|
153 |
if add_table:
|
154 |
html_list = [table.html for table in dp.tables]
|
155 |
if html_list:
|
156 |
+
html = ("\n").join(html_list)
|
157 |
else:
|
158 |
html = None
|
159 |
else:
|