Open chrishow opened 8 months ago
HuggingFace API was returning this message:
Authorization header is invalid, use 'Bearer API_TOKEN'
I assume they have changed their auth code since this library was written.
Furthermore, the HttpTransporter was throwing a string, but ErrorException requires an array.
HttpTransporter
ErrorException
This should close issue #1
HuggingFace API was returning this message:
Authorization header is invalid, use 'Bearer API_TOKEN'
I assume they have changed their auth code since this library was written.
Furthermore, the
HttpTransporter
was throwing a string, butErrorException
requires an array.This should close issue #1