Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

fix: app's ai site text to speech api (#28091)

mnasrautinno2799b79e8c5a
diff --git a/api/controllers/web/audio.py b/api/controllers/web/audio.py
index 31038510882..b9fef48c4d0 100644
--- a/api/controllers/web/audio.py
+++ b/api/controllers/web/audio.py
@@ -88,12 +88,6 @@ class AudioApi(WebApiResource):
@web_ns.route("/text-to-audio")
class TextApi(WebApiResource):
- text_to_audio_response_fields = {
- "audio_url": fields.String,
- "duration": fields.Float,
- }
-
- @marshal_with(text_to_audio_response_fields)
@web_ns.doc("Text to Audio")
@web_ns.doc(description="Convert text to audio using text-to-speech service.")
@web_ns.doc(