-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enh: reset requested voice model after switching TTS Engine #3689
Comments
Also the settings page doesn't display the full list of available voices when a voice is already selected. I have to delete the selected voice for the complete list to show. It feels more of an autocomplete than a drop down menu |
I've noticed a bug related to caching. To explain it, I need to understand where the voices list in the dropdown menu comes from. Specifically, I'm referring to the list that includes voices like alloy, echo, fable, etc.. I assumed this list was populated with the available voices, but when I added my custom voice to the openedai-speech config, the list did not include the new voice, even after restarting. Interestingly, I can manually enter the name of the custom voice and it works, except when I try to play a message that has already been played with one of the predefined voices. To elaborate, I initially used the alloy voice to play a message. After switching to my custom voice, the play button didn't work, despite the logs showing no errors. This issue only occurs with custom models. If I select another voice from the predefined list, it plays normally. Playing the custom voice on a new message, however, works without any problems. |
PR welcome! |
Follow-up, tried a custom - and can't seem to get custom voices to work at all. only the standard ones included in openedai-speech. |
Have you noticed the third message a wrote about a potential bug with caching and invalidation? What exactly is the problem you are facing? Have you tested the custom voice through a curl command? If the model is working through other methods then the issue is probably related to the caching Don't test the custom model on a message that had been played with the standard ones |
Finally, for me - its a custom file that just won't work. But I don't know that it's open-web-ui's issue - because when I curl the file, opened-ai-speech generates the mp3, but it's corrupt - so im probably doing something wrong there. |
Bug Report
Description
Bug Summary:
Before setting up openedai-speech, I was using the webapi
Google UK English Female
voice. After I completed the setup for openedai-speech, I was getting these errorsOpen webui logs
Openedai-speech logs
The error message clearly shows that the requested model didn't get reset or overridden by the value chosen in Admin settings. I had to update the voice model from the user (settings button) settings.
I believe the
admin settings
andsettings
should be in sync at least for the admin user.Steps to Reproduce:
Expected Behavior:
When the engine changed through admin settings, users should have audio settings updated or reset.
Actual Behavior:
The voice model chosen in
settings
was being used despite it being invalid.Environment
Open WebUI Version: v0.3.7
Operating System: Ubuntu 20.04
Browser (if applicable): Chrome latest
Reproduction Details
Confirmation:
Installation Method
Both open webui and openedai-speech were installed through docker.
The text was updated successfully, but these errors were encountered: