fix: transcript asr params wrong (#2162)

This commit is contained in:
takatost 2024-01-24 13:36:04 +08:00 committed by GitHub
parent e0f72d2791
commit 6d94126368
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -34,8 +34,7 @@ class ChatMessageAudioApi(Resource):
try:
response = AudioService.transcript_asr(
tenant_id=app_model.tenant_id,
file=file,
promot=app_model.app_model_config.pre_prompt
file=file
)
return response