Commit 5ee02a99 authored by myhloli's avatar myhloli

refactor(model): comment out unused code in ppTableModel

- Comment out an unused code block in the ppTableModel.py file
- Improve code readability and maintainability by removing unnecessary code
parent 11f23843
......@@ -39,8 +39,8 @@ class ppTableModel(object):
image = np.array(image)
pred_res, _ = self.table_sys(image)
pred_html = pred_res["html"]
res = '<td><table border="1">' + pred_html.replace("<html><body><table>", "").replace("</table></body></html>",
"") + "</table></td>\n"
# res = '<td><table border="1">' + pred_html.replace("<html><body><table>", "").replace(
# "</table></body></html>","") + "</table></td>\n"
return pred_html
def parse_args(self, **kwargs):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment