Error in deserrialization

#2
by wpa2 - opened

The curl I'm running
curl --location 'https://api-inference.huggingface.co/models/mgrella/autonlp-bank-transaction-classification-5521155'
--header 'Content-Type: application/json'
--header 'Authorization: Bearer ****'
--data '{"inputs": "credit 577"}'

The error im getting:
{
"error": "HfApiJson(Deserialize(Error("invalid type: string \"autonlp\", expected a sequence", line: 1, column: 822)))"
}

I opened a PR to fix this error.

Sign up or log in to comment