mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[PR #7802] [CLOSED] Fix: Openai-edge-tts speaking markdown not plain text #8907
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/7802
Author: @ALIENvsROBOT
Created: 12/12/2024
Status: ❌ Closed
Base:
dev← Head:dev📝 Commits (2)
364ae24Fix: Openai-edge-tts speaking markdown not plain text58fbd4cUpdate main.py📊 Changes
2 files changed (+24 additions, -0 deletions)
View changed files
📝
backend/open_webui/apps/audio/main.py(+23 -0)📝
backend/requirements.txt(+1 -0)📄 Description
Openai-edge-tts is always speaking with markdown which results ("hashtag hashtag hashtag... [AI response]") to fix I used mardown2 and re libraries to convert check if the input is markdown or not. if its markdown it will convert to plain text. (needs testing)
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.