Skip to content

Commit 031b761

Browse files
实现Json转word,Json转latex,md转word,md转latex (#4597)
* 实现Json转word,Json转latex,md转word,md转latex * WIP: 更新 pipeline.py 并移除 OSPP__toWord 文件 * new save_to_word() and save_to_latex() * 修改review中的内容
1 parent 2944ecb commit 031b761

File tree

7 files changed

+1052
-8
lines changed

7 files changed

+1052
-8
lines changed

.precommit/check_imports.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
"aiohttp": "aiohttp",
3535
"baidubce": "bce-python-sdk",
3636
"bs4": "beautifulsoup4",
37+
"docx": "python-docx",
3738
"chardet": "chardet",
3839
"chinese_calendar": "chinese-calendar",
3940
"colorlog": "colorlog",

paddlex/inference/common/result/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@
2222
HtmlMixin,
2323
ImgMixin,
2424
JsonMixin,
25+
LatexMixin,
2526
MarkdownMixin,
2627
StrMixin,
2728
VideoMixin,
29+
WordMixin,
2830
XlsxMixin,
2931
)

0 commit comments

Comments
 (0)