Skip to content

Commit

Permalink
Fix import
Browse files Browse the repository at this point in the history
  • Loading branch information
pseudotensor committed Oct 8, 2024
1 parent 0fce411 commit ea98583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/open_webui/apps/retrieval/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,7 @@ def process_file(
file_path = file.meta.get("path", None)
if file_path:
if os.getenv('H2OGPT_LOADERS'):
from backend.open_webui.apps.retrieval.function_client import get_data_h2ogpt
from function_client import get_data_h2ogpt
docs, known_type = get_data_h2ogpt(file.filename, file.meta.get("content_type"), file_path)
else:
loader = Loader(
Expand Down

0 comments on commit ea98583

Please sign in to comment.