Documentation bug TTS openedai speech #36

Closed
opened 2026-02-15 17:05:19 -05:00 by yindo · 1 comment
Owner

Originally created by @rodders99 on GitHub (Jul 17, 2024).

Documentation Bug Report

Documentation needs an update for text to speech setup.

Description

The instructions for enabling Text To Speech (TTS) need updating.

I tried to get the openedai speech docker image working with open-webui by following the instructions here : https://docs.openwebui.com/tutorial/openedai-speech-integration without any luck, receiving connection errors. After checking through the openedai speech logs, I noticed that the voice being called was wrong and did not match the voice settings under Admin Panel -> Settings -> Audio -> TTS Voice.

After some fiddling:

The option under Settings -> Audio -> Set Voice needs to match the voice under the Admin Panel -> Settings -> Audio -> TTS Voice.

For example:

Admin Panel -> Settings -> Audio -> TTS Voice : Fable

Needs to match
Settings -> Audio -> Set Voice : Fable

Bug Summary:
Out of the box with a new install the instructions as they stand probably work, I wouldn't know because I messed around with a lot of settings trying to get voice working before realising the issue.

Steps to Reproduce:
Set different voices for the two different TTS voice settings under admin panel settings and setting.

Expected Behavior:
A connection error is reported if the voice settings are different.

Actual Behavior:
A connection error is reported if the voice settings are different.

Environment

  • Open WebUI Version: [Latest, no idea how to find the version]

  • Ollama (if applicable): [Not relevant]

  • Operating System: [Debian Bookworm]

  • Browser (if applicable): [not relevant,, but I was using Firefox]

Reproduction Details

Confirmation:

  • I have read and followed all the instructions provided in the README.md.
  • I am on the latest version of both Open WebUI and Ollama.
  • I have included the browser console logs.
  • [x ] I have included the Docker container logs.

Logs and Screenshots

Browser Console Logs:
[Include relevant browser console logs, if applicable]

Docker Container Logs:
openedai-speech log example:

INFO:     172.17.0.1:42200 - "POST /v1/audio/speech HTTP/1.1" 400 Bad Request
2024-07-17 09:19:42.245 | INFO     | openedai:openai_statuserror_handler:106 - BadRequestError(message="Error loading voice: English (Received Pronunciation)+klatt4, KeyError: 'English (Received Pronunciation)+klatt4'", code=400, param=voice)

Example of correct settings.

Screenshots (if applicable):
**Admin settings -> Audio **
openweb-admin

Settings Menu
openweb-settings1

Settings Menu -> Audio
openweb-settings2

Installation Method

Docker installation for openweb ui
Docker installation for openedai-speech

Additional Information

[Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.]

Note

If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!

Originally created by @rodders99 on GitHub (Jul 17, 2024). # Documentation Bug Report Documentation needs an update for text to speech setup. ## Description The instructions for enabling Text To Speech (TTS) need updating. I tried to get the openedai speech docker image working with open-webui by following the instructions here : https://docs.openwebui.com/tutorial/openedai-speech-integration without any luck, receiving connection errors. After checking through the openedai speech logs, I noticed that the voice being called was wrong and did not match the voice settings under **Admin Panel -> Settings -> Audio -> TTS Voice**. After some fiddling: The option under **Settings -> Audio -> Set Voice** needs to match the voice under the **Admin Panel -> Settings -> Audio -> TTS Voice**. For example: Admin Panel -> Settings -> Audio -> TTS Voice : **Fable** Needs to match Settings -> Audio -> Set Voice : **Fable** **Bug Summary:** Out of the box with a new install the instructions as they stand **probably** work, I wouldn't know because I messed around with a lot of settings trying to get voice working before realising the issue. **Steps to Reproduce:** Set different voices for the two different TTS voice settings under admin panel settings and setting. **Expected Behavior:** A connection error is reported if the voice settings are different. **Actual Behavior:** A connection error is reported if the voice settings are different. ## Environment - **Open WebUI Version:** [Latest, no idea how to find the version] - **Ollama (if applicable):** [Not relevant] - **Operating System:** [Debian Bookworm] - **Browser (if applicable):** [not relevant,, but I was using Firefox] ## Reproduction Details **Confirmation:** - [x] I have read and followed all the instructions provided in the README.md. - [x] I am on the latest version of both Open WebUI and Ollama. - [ ] I have included the browser console logs. - [x ] I have included the Docker container logs. ## Logs and Screenshots **Browser Console Logs:** [Include relevant browser console logs, if applicable] **Docker Container Logs:** openedai-speech log example: ``` INFO: 172.17.0.1:42200 - "POST /v1/audio/speech HTTP/1.1" 400 Bad Request 2024-07-17 09:19:42.245 | INFO | openedai:openai_statuserror_handler:106 - BadRequestError(message="Error loading voice: English (Received Pronunciation)+klatt4, KeyError: 'English (Received Pronunciation)+klatt4'", code=400, param=voice) ``` Example of correct settings. **Screenshots (if applicable):** **Admin settings -> Audio ** ![openweb-admin](https://github.com/user-attachments/assets/ecac07aa-294c-4b39-a81a-198684bfa5b4) **Settings Menu** ![openweb-settings1](https://github.com/user-attachments/assets/3ac66eb2-9302-4f11-bf60-1b5505b80f5c) **Settings Menu -> Audio** ![openweb-settings2](https://github.com/user-attachments/assets/82ad5cb5-ce21-426d-a48d-2342544433d6) ## Installation Method Docker installation for openweb ui Docker installation for openedai-speech ## Additional Information [Include any additional details that may help in understanding and reproducing the issue. This could include specific configurations, error messages, or anything else relevant to the bug.] ## Note If the bug report is incomplete or does not follow the provided instructions, it may not be addressed. Please ensure that you have followed the steps outlined in the README.md and troubleshooting.md documents, and provide all necessary information for us to reproduce and address the issue. Thank you!
yindo closed this issue 2026-02-15 17:05:19 -05:00
Author
Owner

@justinh-rahb commented on GitHub (Aug 2, 2024):

Unclear what needs done here. Closing unless clarified.

@justinh-rahb commented on GitHub (Aug 2, 2024): Unclear what needs done here. Closing unless clarified.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: open-webui/docs#36