Skip to content

remove table_structure.__init__.py imports#103

Merged
SWHL merged 1 commit into
RapidAI:mainfrom
hbh112233abc:main
Jun 24, 2025
Merged

remove table_structure.__init__.py imports#103
SWHL merged 1 commit into
RapidAI:mainfrom
hbh112233abc:main

Conversation

@hbh112233abc

Copy link
Copy Markdown
Contributor

删除__init__.py的驱动引入,解决torch必须依赖的问题

删除__init__.py的驱动引入,解决torch必须依赖的问题
@SWHL

SWHL commented Jun 24, 2025

Copy link
Copy Markdown
Member

实在不好意思,我这里疏忽了测试torch依赖这个。晚点我测试一下这个,再重新发版一下

@SWHL
SWHL requested a review from Copilot June 24, 2025 06:14

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the imports from rapid_table/table_structure/init.py to resolve the torch dependency issue.

  • Removed the imports of PPTableStructurer and UniTableStructure to decouple torch dependency.
Comments suppressed due to low confidence (1)

rapid_table/table_structure/init.py:3

  • Removing these imports changes the public API of the module; ensure that any consumers relying on these classes update their references accordingly.
# @Contact: [email protected]

@SWHL
SWHL merged commit f2e3906 into RapidAI:main Jun 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants