[PR #1499] [MERGED] feat: introduce Whisper model auto-update control. #20689

Closed
opened 2026-04-20 03:07:24 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/1499
Author: @ghost
Created: 4/11/2024
Status: Merged
Merged: 4/14/2024
Merged by: @tjbck

Base: devHead: whisper_auto_update


📝 Commits (3)

  • 429242b Introduce Whisper model auto-update control.
  • 81c8717 Format fix
  • faa5884 Use log.warning instead of log.debug

📊 Changes

2 files changed (+22 additions, -6 deletions)

View changed files

📝 backend/apps/audio/main.py (+19 -6)
📝 backend/config.py (+3 -0)

📄 Description

Pull Request Checklist

  • Description: Briefly describe the changes in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.

Description

Introduce WHISPER_MODEL_AUTO_UPDATE env var with disabled default. Pass this variable with local_files_only to WhisperModel(). Use try/except to handle cases where auto-update is disabled but model is non-existent.

Relates to: #1302


Changelog Entry

Added

  • Introduce WHISPER_MODEL_AUTO_UPDATE env var
  • Pass local_files_only to WhisperModel()
  • Handle cases where auto-update is disabled but model is non-existent

Fixed

  • Eliminate auto-connection to HuggingFace for WhisperModel download.

Changed

  • Update backend/config.py to add env var
  • Update backend/apps/audio/main.py to use env var

🔄 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/1499 **Author:** [@ghost](https://github.com/ghost) **Created:** 4/11/2024 **Status:** ✅ Merged **Merged:** 4/14/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `whisper_auto_update` --- ### 📝 Commits (3) - [`429242b`](https://github.com/open-webui/open-webui/commit/429242b4d3bb6e24badfc403f690540b3b44cd6f) Introduce Whisper model auto-update control. - [`81c8717`](https://github.com/open-webui/open-webui/commit/81c8717d75170a5d5a8526dea35894060105d222) Format fix - [`faa5884`](https://github.com/open-webui/open-webui/commit/faa58841508c181a08e816c1a90d487910adf20c) Use log.warning instead of log.debug ### 📊 Changes **2 files changed** (+22 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `backend/apps/audio/main.py` (+19 -6) 📝 `backend/config.py` (+3 -0) </details> ### 📄 Description ## Pull Request Checklist - [x] **Description:** Briefly describe the changes in this pull request. - [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. --- ## Description Introduce `WHISPER_MODEL_AUTO_UPDATE` env var with disabled default. Pass this variable with local_files_only to `WhisperModel()`. Use try/except to handle cases where auto-update is disabled but model is non-existent. Relates to: #1302 --- ### Changelog Entry ### Added - Introduce `WHISPER_MODEL_AUTO_UPDATE` env var - Pass local_files_only to `WhisperModel()` - Handle cases where auto-update is disabled but model is non-existent ### Fixed - Eliminate auto-connection to HuggingFace for WhisperModel download. ### Changed - Update backend/config.py to add env var - Update backend/apps/audio/main.py to use env var --- <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-04-20 03:07:24 -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#20689