fix(huggingface_restapi.py): fix linting errors

This commit is contained in:
Krrish Dholakia 2023-11-15 15:34:21 -08:00
parent f84db3ce14
commit a59494571f
2 changed files with 13 additions and 7 deletions

View file

@ -1779,7 +1779,7 @@ def embedding(
or get_secret("HUGGINGFACE_API_KEY")
or litellm.api_key
)
response = huggingface_restapi.embedding(
response = huggingface.embedding(
model=model,
input=input,
encoding=encoding,