From 5bf4d604a4bb52532b6040ca269b061aa49dec70 Mon Sep 17 00:00:00 2001 From: Shengsheng Huang Date: Wed, 27 Mar 2024 01:52:34 +0800 Subject: [PATCH] fix format --- libs/community/langchain_community/llms/bigdl_llm.py | 3 +-- libs/community/langchain_community/llms/ipex_llm.py | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libs/community/langchain_community/llms/bigdl_llm.py b/libs/community/langchain_community/llms/bigdl_llm.py index af0e156977a6f..18decd814fcbb 100644 --- a/libs/community/langchain_community/llms/bigdl_llm.py +++ b/libs/community/langchain_community/llms/bigdl_llm.py @@ -1,10 +1,9 @@ +import logging from typing import Any, Optional from langchain_community.llms.ipex_llm import IpexLLM from langchain_core.language_models.llms import LLM -import logging - logger = logging.getLogger(__name__) class BigdlLLM(IpexLLM): diff --git a/libs/community/langchain_community/llms/ipex_llm.py b/libs/community/langchain_community/llms/ipex_llm.py index 993a1764e57e0..af847786d9771 100644 --- a/libs/community/langchain_community/llms/ipex_llm.py +++ b/libs/community/langchain_community/llms/ipex_llm.py @@ -1,3 +1,4 @@ +import logging from typing import Any, List, Mapping, Optional from langchain_core.callbacks import CallbackManagerForLLMRun @@ -6,7 +7,6 @@ DEFAULT_MODEL_ID = "gpt2" -import logging logger = logging.getLogger(__name__)