| 12345678910111213141516171819202122 |
- # Copyright (c) Alibaba, Inc. and its affiliates.
- from typing import TYPE_CHECKING
- from modelscope.utils.import_utils import LazyImportModule
- if TYPE_CHECKING:
- from .utils import import_external_nltk_data
- else:
- _import_structure = {
- 'utils': ['import_external_nltk_data'],
- }
- import sys
- sys.modules[__name__] = LazyImportModule(
- __name__,
- globals()['__file__'],
- _import_structure,
- module_spec=__spec__,
- extra_objects={},
- )
|