mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 03:32:23 +08:00
feat:add fishaudio in xinference (#8100)
This commit is contained in:
parent
9050f92e5b
commit
d28446301f
|
@ -89,7 +89,7 @@ class XinferenceHelper:
|
|||
model_handle_type = 'embedding'
|
||||
elif response_json.get('model_type') == 'audio':
|
||||
model_handle_type = 'audio'
|
||||
if model_family and model_family in ['ChatTTS', 'CosyVoice']:
|
||||
if model_family and model_family in ['ChatTTS', 'CosyVoice', 'FishAudio']:
|
||||
model_ability.append('text-to-audio')
|
||||
else:
|
||||
model_ability.append('audio-to-text')
|
||||
|
|
Loading…
Reference in New Issue
Block a user