diff --git a/loaders/html.py b/loaders/html.py index bce3dcafe..bdbeb6735 100644 --- a/loaders/html.py +++ b/loaders/html.py @@ -1,5 +1,5 @@ from .common import process_file -from langchain.document_loaders import TextLoader +from langchain.document_loaders import UnstructuredHTMLLoader def process_html(vector_store, file): - return process_file(vector_store, file, TextLoader, ".html") \ No newline at end of file + return process_file(vector_store, file, UnstructuredHTMLLoader, ".html") \ No newline at end of file