mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-05 18:38:17 -05:00
[GH-ISSUE #17719] feat: Add multilingual FastWhisper support for high-privacy local audio transcription #18376
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pcleau on GitHub (Sep 24, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17719
Check Existing Issues
Problem Description
Currently, when using OpenWebUI with the faster-whisper backend, the local transcription handler (openwebui.faster_whisper.transcription_handler) only uses the default value of the WhisperModel.multilingual parameter.
This creates a limitation:
For users who need to transcribe multilingual audio files locally in high-privacy contexts (without sending data externally), there is no way to enable multilingual mode.
As a result, transcription quality degrades significantly for non-English or mixed-language inputs.
At the moment, there is no documented way to set faster_whisper.WhisperModel.multilingual = True.
see here:
6bc5d331a2/backend/open_webui/routers/audio.py (L545-L569)Desired Solution you'd like
Introduce a simple configuration option to unlock multilingual support.
Proposal:
Add a new environment variable (e.g. WHISPER_MULTILINGUAL) in config.py.
Pass it into the transcription handler so that it directly controls the multilingual flag in faster-whisper.
Example integration in transcription_handler:
Alternatives Considered
No response
Additional Context
Why This Matters
Privacy-first use case: Many users (researchers, healthcare, corporate, government) need local transcription without sending audio externally.
Improved accuracy: Enabling multilingual mode dramatically improves results on non-English or mixed-language content.
Minimal change: This requires only a few lines of code and does not alter existing defaults, so it is safe and backward-compatible.
Flexibility: Keeps English-only use cases fast while enabling multilingual transcription for those who need it.
Impact
This small enhancement empowers OpenWebUI to better support a global user base with multilingual, privacy-preserving transcription, aligning with the project’s open and inclusive vision.
@tjbck commented on GitHub (Jan 9, 2026):
Addressed in dev.