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.
## 📋 Pull Request Information
**Original PR:** https://github.com/open-webui/open-webui/pull/7802
**Author:** [@ALIENvsROBOT](https://github.com/ALIENvsROBOT)
**Created:** 12/12/2024
**Status:** ❌ Closed
**Base:** `dev` ← **Head:** `dev`
---
### 📝 Commits (2)
- [`364ae24`](https://github.com/open-webui/open-webui/commit/364ae24745e8bef34010de986519963f8ab579a6) Fix: Openai-edge-tts speaking markdown not plain text
- [`58fbd4c`](https://github.com/open-webui/open-webui/commit/58fbd4c1689e91523610314c69bf58219762b31c) Update main.py
### 📊 Changes
**2 files changed** (+24 additions, -0 deletions)
<details>
<summary>View changed files</summary>
📝 `backend/open_webui/apps/audio/main.py` (+23 -0)
📝 `backend/requirements.txt` (+1 -0)
</details>
### 📄 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)
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.