Compare commits

...

8 Commits

Author SHA1 Message Date
Xiaomeng Zhao
d30f762ac8 Merge pull request #3449 from myhloli/dev
docs: update changelog for version 2.2.2 release
2025-09-10 14:43:09 +08:00
myhloli
f65ff12eea docs: update changelog for version 2.2.2 release 2025-09-10 14:42:28 +08:00
myhloli
8b8ac3e62e docs: update changelog for version 2.2.2 release 2025-09-10 14:33:30 +08:00
Xiaomeng Zhao
473154c2b3 Merge pull request #3448 from myhloli/dev
fix: improve HTML code handling and logging in batch_analyze and main…
2025-09-10 14:31:19 +08:00
myhloli
e2fd491760 fix: improve HTML code handling and logging in batch_analyze and main modules 2025-09-10 14:27:50 +08:00
Xiaomeng Zhao
c29e2d0ca2 Merge pull request #3438 from opendatalab/master
master->dev
2025-09-08 10:59:47 +08:00
myhloli
a5687394d5 Update version.py with new version 2025-09-08 02:54:47 +00:00
Xiaomeng Zhao
13819c0596 Merge pull request #3437 from opendatalab/release-2.2.1
Release 2.2.1
2025-09-08 10:53:01 +08:00
5 changed files with 10 additions and 4 deletions

View File

@@ -44,6 +44,9 @@
# Changelog
- 2025/09/10 2.2.2 Released
- Fixed the issue where the new table recognition model would affect the overall parsing task when some table parsing failed
- 2025/09/08 2.2.1 Released
- Fixed the issue where some newly added models were not downloaded when using the model download command.

View File

@@ -44,6 +44,9 @@
# 更新记录
- 2025/09/10 2.2.2 发布
- 修复新的表格识别模型在部分表格解析失败时影响整体解析任务的问题
- 2025/09/08 2.2.1 发布
- 修复使用模型下载命令时,部分新增模型未下载的问题

View File

@@ -221,7 +221,7 @@ class BatchAnalyze:
# 表格格式清理
for table_res_dict in table_res_list_all_page:
html_code = table_res_dict["table_res"].get("html", "")
html_code = table_res_dict["table_res"].get("html", "") or ""
# 检查html_code是否包含'<table>'和'</table>'
if "<table>" in html_code and "</table>" in html_code:

View File

@@ -337,5 +337,5 @@ class UnetTableModel:
return html_code
except Exception as e:
logger.exception(e)
return None
logger.warning(e)
return wireless_html_code

View File

@@ -1 +1 @@
__version__ = "2.2.0"
__version__ = "2.2.1"