-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
TTS is Not Enabled Error when text-to-speech feature test #12059
Comments
I found a similar issue that might help you resolve the "TTS is not enabled" error. The error typically indicates that the Text-to-Speech (TTS) feature is not activated in your application's configuration. To resolve this, ensure that the TTS feature is enabled in your configuration file. Here's a general approach:
Additionally, if you are using OpenAI TTS, make sure that To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
@dosu This can only be used during an HTTP call. The current issue lies in the configuration.
|
To resolve the "TTS is not enabled" error during an HTTP call, ensure that the Text-to-Speech (TTS) feature is enabled in your application's configuration. Specifically, check the following:
Additionally, ensure that your configuration dictionary is correctly structured, with the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
You need to publish to make this work. dify/api/services/audio_service.py Lines 86 to 100 in a1104ab
|
Thanks. |
Self Checks
Dify version
0.14.2
Cloud or Self Hosted
Cloud
Steps to reproduce
When I configure the text-to-speech feature and press play, the message "TTS is not enabled" appears. However, I have already set the OpenAI TTS model in the configuration.
✔️ Expected Behavior
No response
❌ Actual Behavior
No response
The text was updated successfully, but these errors were encountered: