mirror of
https://github.com/hwchase17/langchain.git
synced 2025-07-03 03:38:06 +00:00
Fixed huggingfacehub_api_token hadning in HuggingFaceEndpoint (#4335)
Reported here: https://github.com/hwchase17/langchain/issues/4334 --------- Co-authored-by: Pawel Faron <ext-pawel.faron@vaisala.com>
This commit is contained in:
parent
637c61cffb
commit
1d1166ded6
@ -73,6 +73,7 @@ class HuggingFaceEndpoint(LLM):
|
||||
"Could not import huggingface_hub python package. "
|
||||
"Please install it with `pip install huggingface_hub`."
|
||||
)
|
||||
values["huggingfacehub_api_token"] = huggingfacehub_api_token
|
||||
return values
|
||||
|
||||
@property
|
||||
|
Loading…
Reference in New Issue
Block a user