artkit.api does not import CachedDiffusionModel and CachedVisionModel.
To Reproduce
Steps to reproduce the behavior:
Run the Connecting to Gen AI Models notebook: https://github.com/BCG-X-Official/artkit/blob/1.0.x/sphinx/source/user_guide/introduction_to_artkit/connecting_to_genai_models.ipynb
The OpenAI "text-to-image" and "vision" sections will fail
Expected behavior
CachedDiffusionModel and CachedVisionModel should be imported with artkit.api
Additional context
The fix is to update the following imports in src/artkit/api.py, which currently do not seem to import anything:
from .model.diffusion import *
from .model.vision import *
to:
from .model.diffusion.base import *
from .model.vision.base import *
Describe the bug
artkit.api
does not importCachedDiffusionModel
andCachedVisionModel
.To Reproduce
Steps to reproduce the behavior:
https://github.com/BCG-X-Official/artkit/blob/1.0.x/sphinx/source/user_guide/introduction_to_artkit/connecting_to_genai_models.ipynb
Expected behavior
CachedDiffusionModel
andCachedVisionModel
should be imported withartkit.api
Additional context
The fix is to update the following imports in
src/artkit/api.py
, which currently do not seem to import anything:to: