Google Sheets Apps Script Error
Getting the following error when I am trying to use facebook/bart-large-mnli using this repoAdd Zero-shot classification to Google Sheets using HuggingFace's API · GitHubException: Request failed forhttps://api-inference.huggingface.coreturned code 400. Truncated server response: {“error”:["field required:candidate_labelsinparameters"]} (use muteHttpExceptions option to examine full response) (line 20, file “Code”)
2022-02-23T08:30:30Z
It might be that you’re not setting the spreadsheet correctly. This video might help youNLP on Google Sheets with Hugging Face Inference API - No Code ML Tutorial - YouTubeFeel free to share the spreadsheet as well!