mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 12:58:11 -05:00
[PR #7797] [CLOSED] Fixed: openai-edge-tts speaking markdown issue #8906
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/7797
Author: @ALIENvsROBOT
Created: 12/11/2024
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (2)
5c0ec49fix markdown to normal word conversion for openai-edge-ttsb6865e4fix markdown to normal word conversion for openai-edge-tts. fix 2📊 Changes
2 files changed (+22 additions, -0 deletions)
View changed files
📝
backend/open_webui/apps/audio/main.py(+21 -0)📝
backend/requirements.txt(+1 -0)📄 Description
I've used simple markdown2 and re libraries to convert AI response which is in markdown format to which leads to edge-tts voice starts with ("hashtag hashtag hashtag.... ") so I used Simple heuristic to detect Markdown and convert it to plain text
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.