[PR #15935] [MERGED] FIX: STT default whisper trascription language #111297

Closed
opened 2026-05-18 11:06:30 -05:00 by GiteaMirror · 0 comments
Owner

📋 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: devHead: dev_FIX-transcription_language


📝 Commits (3)

  • 0613563 FIX: STT default whisper trascription language
  • 51758c4 Update audio.py - fix FORMAT error
  • ab8e54d Update 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

  • Logic for select transcription language

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.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/15935 **Author:** [@rgaricano](https://github.com/rgaricano) **Created:** 7/22/2025 **Status:** ✅ Merged **Merged:** 7/23/2025 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `dev_FIX-transcription_language` --- ### 📝 Commits (3) - [`0613563`](https://github.com/open-webui/open-webui/commit/06135636445a01e55e0c25dd5369adf0ec636812) FIX: STT default whisper trascription language - [`51758c4`](https://github.com/open-webui/open-webui/commit/51758c429bcf27648792d6352d0d00f026060f0f) Update audio.py - fix FORMAT error - [`ab8e54d`](https://github.com/open-webui/open-webui/commit/ab8e54dd29011e987a08347c309dd58aeb57c505) Update audio.py Fix Format error ### 📊 Changes **1 file changed** (+5 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `backend/open_webui/routers/audio.py` (+5 -1) </details> ### 📄 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 - Logic for select transcription language _____ ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-18 11:06:30 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#111297