Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
baskaryan committed Feb 19, 2024
1 parent a53fbab commit 3f5b768
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion libs/community/langchain_community/llms/huggingface_hub.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 3f5b768

Please sign in to comment.