mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-16 06:03:26 -05:00
[PR #15935] [MERGED] FIX: STT default whisper trascription language #111297
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?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/15935
Author: @rgaricano
Created: 7/22/2025
Status: ✅ Merged
Merged: 7/23/2025
Merged by: @tjbck
Base:
dev← Head:dev_FIX-transcription_language📝 Commits (3)
0613563FIX: STT default whisper trascription language51758c4Update audio.py - fix FORMAT errorab8e54dUpdate audio.py Fix Format error📊 Changes
1 file changed (+5 additions, -1 deletions)
View changed files
📝
backend/open_webui/routers/audio.py(+5 -1)📄 Description
Description:
FIX: STT default whisper trascription language
Fix the transcripcion language used by default whisper, setting as WHISPER_LANGUAGE if it is setted in env var, even if a language is detected in the file's metadata.
It is understood that if a language is set as an environment variable for transcriptions, this should be the preferred one and the one that should be used for that purpose.
It would be advisable to add this variable as configurable in UI
Changed
Contributor License Agreement
By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.