Skip to content

stream.wasm : add language selection support #3354

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

Merged
merged 2 commits into from
Aug 2, 2025

Conversation

danbev
Copy link
Member

@danbev danbev commented Aug 1, 2025

This commit adds support for selecting the language in the stream.wasm example. This is includes adding the model base which supports multilingual transcription, and allowing the user to select a language from a dropdown menu in the HTML interface.

The motivation for this is that it allows users to transcribe audio in various languages.

Refs: #3347


The updated UI looks like this and shows an example of transcribing in Swedish (though the Swedish is not very accurate but might be better for other languages):

stream-swedish

This commit adds support for selecting the language in the stream.wasm
example. This is includes adding the model `base` which supports
multilingual transcription, and allowing the user to select a language
from a dropdown menu in the HTML interface.

The motivation for this is that it allows users to transcribe audio in
various languages.

Refs: ggml-org#3347
Remove strdup() for language in stream.wasm and update butten text for
base (should not be "base.en" but just "base").
@danbev danbev merged commit 0becabc into ggml-org:master Aug 2, 2025
104 of 105 checks passed
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

Successfully merging this pull request may close these issues.

3 participants