Browse Source

fix: transcript asr params wrong (#2162)

takatost 1 year ago
parent
commit
6d94126368
1 changed files with 1 additions and 2 deletions
  1. 1 2
      api/controllers/console/app/audio.py

+ 1 - 2
api/controllers/console/app/audio.py

@@ -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