Xenova/bert-base-multilingual-uncased-sentiment crashes on nextJS
janwirth opened this issue · comments
janwirth commented
System Info
Latest version of nextJS as per the tutorial: https://huggingface.co/docs/transformers.js/en/tutorials/next#server-side-inference
Environment/Platform
- Website/web-app
- Browser extension
- Server-side (e.g., Node.js, Deno, Bun)
- Desktop app (e.g., Electron)
- Other (e.g., VSCode extension)
Description
It does not seem to be the API timeout, I set the limit to 60s using export const maxDuration = 60;
Reproduction
Follow the tutorial: https://huggingface.co/docs/transformers.js/en/tutorials/next#server-side-inference
change the model to Xenova/bert-base-multilingual-uncased-sentiment