huggingface-php
huggingface-php copied to clipboard
inference.huggingface
I could handle a local composer installation setting psr/http-client to "^1.0".
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...
This is the stack trace I got: ``` Warning: Undefined array key "message" in [server]/inc/vendor/kambo/huggingface-php/src/Exceptions/ErrorException.php on line 18 Fatal error: Uncaught TypeError: Exception::__construct(): Argument #1 ($message) must be of type...