Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion glmocr/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"MissingApiKeyError",
"GlmOcr",
"parse",
"extract",
]


Expand All @@ -34,6 +35,7 @@
"MissingApiKeyError": ("maas_client", "MissingApiKeyError"),
"GlmOcr": ("api", "GlmOcr"),
"parse": ("api", "parse"),
"extract": ("api", "extract"),
}


Expand All @@ -56,7 +58,7 @@ def __dir__():

if TYPE_CHECKING: # pragma: no cover
from . import dataloader, layout, postprocess, utils
from .api import GlmOcr, parse
from .api import GlmOcr, parse, extract
from .config import GlmOcrConfig, load_config
from .maas_client import MaaSClient, MissingApiKeyError
from .parser_result import PipelineResult
Expand Down
Loading