Skip to content

How to deploy a project like this #65

@simonxabris

Description

@simonxabris

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions