mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 03:04:13 +00:00
fix(huggingface_restapi.py): fix linting errors
This commit is contained in:
parent
f84db3ce14
commit
a59494571f
2 changed files with 13 additions and 7 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue