Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -133,7 +133,7 @@ def get_table_res(img_file_buffer):
|
|
133 |
image = Image.open(img_file_buffer)
|
134 |
img = np.array(image)
|
135 |
img_array = cv2.cvtColor(img, cv2.COLOR_RGB2BGR)
|
136 |
-
table_html_str, _ = table_engine(img_array)
|
137 |
table_html_str = vis_table(table_html_str)
|
138 |
return image, table_html_str
|
139 |
|
|
|
133 |
image = Image.open(img_file_buffer)
|
134 |
img = np.array(image)
|
135 |
img_array = cv2.cvtColor(img, cv2.COLOR_RGB2BGR)
|
136 |
+
table_html_str, _, _ = table_engine(img_array)
|
137 |
table_html_str = vis_table(table_html_str)
|
138 |
return image, table_html_str
|
139 |
|