mirror of
https://github.com/langgenius/dify.git
synced 2026-02-24 18:05:11 +00:00
fix voice list
This commit is contained in:
@@ -437,6 +437,7 @@ class PluginModelManager(BasePluginManager):
|
||||
voices = []
|
||||
for voice in resp.voices:
|
||||
voices.append({"name": voice.name, "value": voice.value})
|
||||
|
||||
return voices
|
||||
|
||||
return []
|
||||
|
||||
Reference in New Issue
Block a user