mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-11 00:04:08 -05:00
[PR #5611] [CLOSED] fix: Enhance TTS experience by filtering unnecessary characters #8511
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/5611
Author: @Simi5599
Created: 9/22/2024
Status: ❌ Closed
Base:
dev← Head:main📝 Commits (10+)
bd81fc8downgrade authlib to 1.3.15fe2795Merge pull request #5556 from open-webui/dev9b05fe3Update pyproject.toml79b5430Merge pull request #5546 from itaybar/bugfix/downgrade_authlib578d52bMerge pull request #5562 from open-webui/devff8a2daMerge pull request #5565 from open-webui/devf47dffeMerge pull request #5576 from open-webui/dev54d63ecMerge pull request #5583 from open-webui/dev6b46316Merge pull request #5584 from open-webui/dev3820ab7Improve TTS message preparation by filtering unnecessary characters📊 Changes
3 files changed (+9 additions, -4 deletions)
View changed files
📝
backend/requirements.txt(+1 -1)📝
pyproject.toml(+1 -1)📝
src/lib/components/chat/Messages/ResponseMessage.svelte(+7 -2)📄 Description
When using a TTS system, punctuation and in particular emojis can sometimes be read and repeated, which disrupts the flow of speech.
This PR addresses the issue by removing unnecessary characters, ensuring a smoother and more coherent TTS experience.
The filtering process retains essential letters, numbers, and punctuation while eliminating unwanted symbols and emojis.
Pull Request Checklist
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
I made the following changes in the ResponseMessage.svelte file:
Added
Changed
Deprecated
Removed
Fixed
Security
Breaking Changes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.