forked from phoenix/litellm-mirror
fix(huggingface_restapi.pyu): fix linting errors
This commit is contained in:
parent
c23d42305d
commit
1218121e47
1 changed files with 1 additions and 1 deletions
|
@ -406,7 +406,7 @@ class Huggingface(BaseLLM):
|
|||
try:
|
||||
completion_response = response.json()
|
||||
if isinstance(completion_response, dict):
|
||||
completion_response: List[Dict[str, Any]] = [completion_response]
|
||||
completion_response = [completion_response]
|
||||
except:
|
||||
import traceback
|
||||
raise HuggingfaceError(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue