From ea985833d8e8a2da778c1ed33b5d2fb0ae719d5b Mon Sep 17 00:00:00 2001 From: "Jonathan C. McKinney" Date: Tue, 8 Oct 2024 02:30:15 -0700 Subject: [PATCH] Fix import --- backend/open_webui/apps/retrieval/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/apps/retrieval/main.py b/backend/open_webui/apps/retrieval/main.py index 7a8047c264..fdf9b7371b 100644 --- a/backend/open_webui/apps/retrieval/main.py +++ b/backend/open_webui/apps/retrieval/main.py @@ -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(