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>
pull/4346/head
PawelFaron 1 year ago committed by GitHub
parent 637c61cffb
commit 1d1166ded6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save