Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Offline example #91

Open
sausax opened this issue Feb 14, 2024 · 3 comments
Open

Offline example #91

sausax opened this issue Feb 14, 2024 · 3 comments

Comments

@sausax
Copy link

sausax commented Feb 14, 2024

Can somebody provide and example of how to run this with model file locally present ? I am planning to run it on machine that does not have internet access.

@jpc
Copy link
Contributor

jpc commented Feb 18, 2024

Hey, you need to download all the models manually and everything else should work. Here is an example that pulls the models into a Docker image:

https://github.com/collabora/WhisperFusion/blob/c58a8d1446a768833811aca9dbdfb6388957fdcb/docker/scripts/setup-whisperfusion.sh#L19-L23

@julienreszka
Copy link

julienreszka commented Mar 31, 2024

@sausax Hi, have you managed to do a full example?

Whisper is so easy to use

model = whisper.load_model("base")
result = model.transcribe(audio_file)

Is there any way we can have something like that with WhisperSpeech?

I'm a bit confused by the docker/scripts/setup-whisperfusion.sh

@BBC-Esq
Copy link
Contributor

BBC-Esq commented Mar 31, 2024

You can check out the examples folder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants