mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 14:13:08 -05:00
[PR #3447] [MERGED] fix: Make STT model configurable #8041
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/3447
Author: @ben-z
Created: 6/25/2024
Status: ✅ Merged
Merged: 6/25/2024
Merged by: @tjbck
Base:
dev← Head:stt-model-configurable📝 Commits (1)
044bd00Make STT model configurable📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
backend/apps/audio/main.py(+1 -1)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?Changelog Entry
Description
There is a configuration parameter
app.state.config.STT_MODELbut it's not being used. A hard-codedwhisper-1is currently used. This PR makes use of the parameter instead. This is useful when using an OpenAI-compatible endpoint that has different model names, like GroqCloud withwhisper-large-v3.Fixed
Fixes https://github.com/open-webui/open-webui/issues/2248 (the previous fix appears to have missed this change)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.