We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a940036 commit c28517fCopy full SHA for c28517f
clarifai_datautils/multimodal/pipeline/base.py
@@ -3,8 +3,6 @@
3
4
from tqdm import tqdm
5
6
-from clarifai_datautils.multimodal.pipeline.custom_pipeline import Custom_Pipelines
7
-
8
from .basetransform import BaseTransform
9
from .loaders import MultiModalLoader, TextDataLoader
10
@@ -91,6 +89,11 @@ def load(self, name) -> 'Pipeline':
91
89
Pipeline object.
92
90
93
"""
+ try:
+ from clarifai_datautils.multimodal.pipeline.custom_pipeline import Custom_Pipelines
94
+ except Exception as e:
95
+ raise ImportError('cannot Import Custom_Pipelines') from e
96
+
97
self.name = name
98
self.custom_pipelines_map = {
99
'basic_pdf': Custom_Pipelines.basic_pdf_pipeline(),
0 commit comments