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

How to indicate the input audio file? #18

Closed
remybonnav opened this issue Apr 21, 2023 · 1 comment
Closed

How to indicate the input audio file? #18

remybonnav opened this issue Apr 21, 2023 · 1 comment

Comments

@remybonnav
Copy link

How can I pass the path of the input audiofile in the pipeline? In the kaggle notebook you are passing a dataset, should we just replace by a path to our input or is it another way?

@sanchit-gandhi
Copy link
Owner

Hey @remybonnav - you can pass the path to an audio file to the Flax Whisper Pipeline. The pipeline will take care of loading the audio file for you and resampling it to the correct sampling rate. See https://github.com/sanchit-gandhi/whisper-jax#pipeline-usage for details.

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

No branches or pull requests

2 participants