whisper-web icon indicating copy to clipboard operation
whisper-web copied to clipboard

How to deploy a project like this

Open simonxabris opened this issue 1 month ago • 4 comments

It's more of a question rather than an issue with the repo, but I tried to build a solution that basically mirrors what this does transcription capability wise, but when I tried to deploy it to a cloudflare worker I could not get it to work because when transofmers.js library tries to request the config file like https://huggingface.co/Xenova/whisper-tiny.en/resolve/main/tokenizer.json I run into a CORS issue.

I tried to do a server side proxy, but that didnt work either for some reason. I'm a bit lost at actually how is the transformers.js library is supposed to work in production settings or when not deployed to huggingface spaces. I have not found anything related to this in any documentation. Am I supposed to host these configs myself? Any help would be appreciated, thanks!

simonxabris avatar Oct 03 '25 10:10 simonxabris