From 3f5b7689186e8fa987451572ce95bfe3d8f16aaa Mon Sep 17 00:00:00 2001 From: Bagatur Date: Mon, 19 Feb 2024 10:25:33 -0800 Subject: [PATCH] fmt --- libs/community/langchain_community/llms/huggingface_hub.py | 2 +- .../langchain_community/llms/huggingface_text_gen_inference.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/community/langchain_community/llms/huggingface_hub.py b/libs/community/langchain_community/llms/huggingface_hub.py index 5be52adee1614..2a5deaf766d61 100644 --- a/libs/community/langchain_community/llms/huggingface_hub.py +++ b/libs/community/langchain_community/llms/huggingface_hub.py @@ -20,7 +20,7 @@ } -@deprecated("0.1.7", removal="0.2.0", alternative="HuggingFaceEndpoint") +@deprecated("0.0.21", removal="0.2.0", alternative="HuggingFaceEndpoint") class HuggingFaceHub(LLM): """HuggingFaceHub models. ! This class is deprecated, you should use HuggingFaceEndpoint instead. diff --git a/libs/community/langchain_community/llms/huggingface_text_gen_inference.py b/libs/community/langchain_community/llms/huggingface_text_gen_inference.py index 6b4abdf0dd5d0..9f56a949c6b94 100644 --- a/libs/community/langchain_community/llms/huggingface_text_gen_inference.py +++ b/libs/community/langchain_community/llms/huggingface_text_gen_inference.py @@ -14,7 +14,7 @@ logger = logging.getLogger(__name__) -@deprecated("0.1.7", removal="0.2.0", alternative="HuggingFaceEndpoint") +@deprecated("0.0.21", removal="0.2.0", alternative="HuggingFaceEndpoint") class HuggingFaceTextGenInference(LLM): """ HuggingFace text generation API.