mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
fix voice list
This commit is contained in:
parent
413326905e
commit
d92cb994a9
|
@ -437,6 +437,7 @@ class PluginModelManager(BasePluginManager):
|
|||
voices = []
|
||||
for voice in resp.voices:
|
||||
voices.append({"name": voice.name, "value": voice.value})
|
||||
|
||||
return voices
|
||||
|
||||
return []
|
||||
|
|
Loading…
Reference in New Issue
Block a user