"cmake/config.cmake" did not exist on "da0c92a2280dc8dddd0cb478fc094a523ab4d441"
__init__.py 424 Bytes
Newer Older
1
2
from typing import TYPE_CHECKING

3
from ...utils import DIFFUSERS_SLOW_IMPORT, _LazyModule
Dhruv Nair's avatar
Dhruv Nair committed
4
5


6
_import_structure = {"pipeline_repaint": ["RePaintPipeline"]}
Dhruv Nair's avatar
Dhruv Nair committed
7

8
if TYPE_CHECKING or DIFFUSERS_SLOW_IMPORT:
9
    from .pipeline_repaint import RePaintPipeline
Dhruv Nair's avatar
Dhruv Nair committed
10

11
12
else:
    import sys
Dhruv Nair's avatar
Dhruv Nair committed
13

14
15
16
17
18
19
    sys.modules[__name__] = _LazyModule(
        __name__,
        globals()["__file__"],
        _import_structure,
        module_spec=__spec__,
    )