Add tts document&fix bug (#2156)

Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Yeuoly <45712896+Yeuoly@users.noreply.github.com>
This commit is contained in:
Charlie.Wei 2024-01-24 23:04:14 +08:00 committed by GitHub
commit fd5c45ae10
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 106 additions and 7 deletions

View file

@ -32,6 +32,7 @@ class ChatAudioApi(InstalledAppResource):
response = AudioService.transcript_asr(
tenant_id=app_model.tenant_id,
file=file,
end_user=None
)
return response