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

faster_whisper and openai_whisper have differently formatted responses #209

Open
bscholer opened this issue Apr 10, 2024 · 0 comments
Open

Comments

@bscholer
Copy link

While looking into this issue, I noticed that faster_whisper and openai_whisper now respond in different formats when output=json.

It looks like ASR_ENGINE=openai_whisper returns a structure that looks like this (notice the named fields in the segments array):
image

On the other hand, ASR_ENGINE=faster_whisper instead returns a structure that looks like this (notice the lack of named fields in segments).
image

I think it goes without saying, but the format used by openai_whisper offers a significantly improved DX. I'm not sure what is involved in getting faster_whisper to respond with similarly formatted JSON, but that strikes me as the path forward.

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

1 participant