mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #1499] [MERGED] feat: introduce Whisper model auto-update control. #7485
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/1499
Author: @ghost
Created: 4/11/2024
Status: ✅ Merged
Merged: 4/14/2024
Merged by: @tjbck
Base:
dev← Head:whisper_auto_update📝 Commits (3)
429242bIntroduce Whisper model auto-update control.81c8717Format fixfaa5884Use 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
Introduce
WHISPER_MODEL_AUTO_UPDATEenv var with disabled default. Pass this variable with local_files_only toWhisperModel(). Use try/except to handle cases where auto-update is disabled but model is non-existent.Relates to: #1302
Changelog Entry
Added
WHISPER_MODEL_AUTO_UPDATEenv varWhisperModel()Fixed
Changed
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.