This commit is contained in:
Timothy Jaeryang Baek 2024-12-15 23:41:17 -08:00
parent 35cdd43a31
commit f341971eae
2 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,7 @@
import requests import requests
import logging import logging
import ftfy import ftfy
import sys
from langchain_community.document_loaders import ( from langchain_community.document_loaders import (
BSHTMLLoader, BSHTMLLoader,
@ -18,7 +19,7 @@ from langchain_community.document_loaders import (
YoutubeLoader, YoutubeLoader,
) )
from langchain_core.documents import Document from langchain_core.documents import Document
from open_webui.env import SRC_LOG_LEVELS from open_webui.env import SRC_LOG_LEVELS, GLOBAL_LOG_LEVEL
logging.basicConfig(stream=sys.stdout, level=GLOBAL_LOG_LEVEL) logging.basicConfig(stream=sys.stdout, level=GLOBAL_LOG_LEVEL)
log = logging.getLogger(__name__) log = logging.getLogger(__name__)

View File

@ -1,5 +1,3 @@
# TODO: move socket to webui app
import asyncio import asyncio
import socketio import socketio
import logging import logging