Inference API not working
#1
by
bgffgb
- opened
The inference API interfacing does not seem to be correctly set up.
A simple curl request to reproduce the error:
curl -X POST -H "Authorization: Bearer hf_<API KEY>" -H "Content-Type: application/json" -d '{"inputs": "Any text", "parameters": {"return_embeddings": true}}' https://api-inference.huggingface.co/models/microsoft/xclip-base-patch16-zero-shot
gets
{"error":"unknown error","warnings":["There was an inference error: unknown error: 'NoneType' object has no attribute 'shape'"]}