diff --git a/haystack/preview/components/file_converters/txt.py b/haystack/preview/components/file_converters/txt.py index fe5fa24af..508ff83ff 100644 --- a/haystack/preview/components/file_converters/txt.py +++ b/haystack/preview/components/file_converters/txt.py @@ -5,7 +5,7 @@ from typing import Optional, List, Union, Dict from canals.errors import PipelineRuntimeError from tqdm import tqdm -from haystack.lazy_imports import LazyImport +from haystack.preview.lazy_imports import LazyImport from haystack.preview import Document, component with LazyImport("Run 'pip install farm-haystack[preprocessing]'") as langdetect_import: