mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-11 10:34:13 -05:00
[PR #5309] [CLOSED] feat:Compress Large Audio Files (< 25 MB) #21664
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/5309
Author: @bekmuradov
Created: 9/9/2024
Status: ❌ Closed
Base:
dev← Head:file-compressor📝 Commits (7)
4fdc291Add file compressor if the file is more than 25MB41c3fc7Create AudioCompressionService15ce622Refactor and use AudioCompressionService37142ceInstall nprogressed1ee65Add supported audio mime type and max file size49a5124Create file validator utils951e472Add progress bar and notification toasts📊 Changes
9 files changed (+350 additions, -128 deletions)
View changed files
📝
backend/open_webui/apps/audio/main.py(+137 -87)➕
backend/open_webui/apps/audio/services/__init__.py(+0 -0)➕
backend/open_webui/apps/audio/services/audio_compression.py(+64 -0)📝
package-lock.json(+15 -0)📝
package.json(+2 -0)📝
src/lib/components/workspace/Documents.svelte(+69 -37)📝
src/lib/constants.ts(+15 -4)➕
src/lib/utils/documents/file-validator.ts(+47 -0)➕
src/lib/utils/documents/index.ts(+1 -0)📄 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.Changelog Entry
Description
Added
Changed
Removed
Fixed
Security
Breaking Changes
Additional Information
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.