Skip to content

Commit

Permalink
Merge branch 'feat/huggingface-embedding-support' into deploy/dev
Browse files Browse the repository at this point in the history
  • Loading branch information
GarfieldDai committed Sep 20, 2023
2 parents 2694d4c + 10870a7 commit deb4632
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def validate_environment(cls, values: Dict) -> Dict:
values, "huggingfacehub_api_token", "HUGGINGFACEHUB_API_TOKEN"
)

values['client'] = InferenceClient(values['huggingfacehub_api_token'])
values['client'] = InferenceClient(token=values['huggingfacehub_api_token'])

return values

Expand Down

0 comments on commit deb4632

Please sign in to comment.