Skip to content

Commit 774e359

Browse files
committed
fix: update import download_loader
1 parent 9e215c4 commit 774e359

File tree

1 file changed

+1
-1
lines changed
  • libs/kotaemon/kotaemon/loaders

1 file changed

+1
-1
lines changed

libs/kotaemon/kotaemon/loaders/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def __init__(self, reader_type: Union[str, Type["LIBaseReader"]]) -> None:
2020
"""Init reader using string identifier or class name from llama-hub"""
2121

2222
if isinstance(reader_type, str):
23-
from llama_index import download_loader
23+
from llama_index.core import download_loader
2424

2525
self._reader = download_loader(reader_type)()
2626
else:

0 commit comments

Comments
 (0)