mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 08:21:12 -05:00
[PR #8677] [CLOSED] feat: Add STT_MAX_FILE_SIZE_MB to config using ENV var & UI (corrected) #61128
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/8677
Author: @charnesp
Created: 1/19/2025
Status: ❌ Closed
Base:
dev← Head:configurable_STT_MAX_FILE_SIZE_MB📝 Commits (3)
905fcceAdd STT_MAX_FILE_SIZE_MB to config using ENV var85eb52eMissing the addition of STT_MAX_FILE_SIZE_MB to compress_audioc4e8f65Correct imcomplete feature implementation📊 Changes
6 files changed (+39 additions, -6 deletions)
View changed files
📝
.gitignore(+1 -0)📝
Dockerfile(+2 -0)📝
backend/open_webui/config.py(+6 -0)📝
backend/open_webui/main.py(+2 -0)📝
backend/open_webui/routers/audio.py(+10 -5)📝
src/lib/components/admin/Settings/Audio.svelte(+18 -1)📄 Description
Add STT_MAX_FILE_SIZE_MB to config using ENV var & UI configuration page, enabling the configuration of the max size of an audio file which can be processed through Speech-To-Text pipeline
Needed when we want to upload big audio files.
I sent a merge request 2 days ago, which was incomplete, sorry! This one is completed and tested multiple times.
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.Changelog Entry
Description
Add STT_MAX_FILE_SIZE_MB to config using ENV var & UI configuration page, enabling the configuration of the max size of an audio file which can be processed through Speech-To-Text pipeline
Needed when we want to upload big audio files, or in the opposite if we want to bypass the auto-STT pipeline
Added
Add STT_MAX_FILE_SIZE_MB to config using ENV var & UI configuration page
Changed
4 files updated : config.py, main.py, audio.py and Audio.svelte
Deprecated
Removed
Fixed
Security
Breaking Changes
Additional Information
Screenshots or Videos
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.