Open bunexceptional opened 9 months ago
Actually, the azaharizaman/huggingface-php fork fixes this issue. You should merge it into the main source tree.
Wait, no it doesn't. When I used that fork, I saw an error message that looked like it was related to Hugging Face itself rather than the PHP script. After refreshing, I got the same error message as I did with this version. Oops!
This is the stack trace I got:
(where [server] is the path to the HTTP document directory on my machine)
This is my code that uses the library:
I cannot find any other PHP binding for the Hugging Face API, so I depend on this one. Please help me solve this issue so I can use the model I need.