From 6110710fc702180baa43cb234799f1b7f139d70a Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 7 Jul 2026 17:53:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20ASR=E6=94=B9=E4=B8=BAasync+JSON=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D+GPU=20status=E7=AB=AF=E7=82=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/ktv_uapi_migration_p6_happyhorse.sql | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/scripts/ktv_uapi_migration_p6_happyhorse.sql b/scripts/ktv_uapi_migration_p6_happyhorse.sql index 0474d4a9..657076ee 100644 --- a/scripts/ktv_uapi_migration_p6_happyhorse.sql +++ b/scripts/ktv_uapi_migration_p6_happyhorse.sql @@ -10,3 +10,12 @@ WHERE name='t2v' AND upappid='tongyi-wan'; -- wan2.7-image-pro UPDATE uapi SET data = REPLACE(data, '"model": "{{model}}"', '"model": "wan2.7-image-pro"') WHERE name='wan2.7-image-sync' AND upappid='tongyi-wan'; + +-- ============================================================ +-- ASR 修复: data JSON格式 + async + status端点 +-- ============================================================ + +UPDATE uapi SET stream='async', + data='{"audio_path":"{{audio_file}}"{%if language%},"language":"{{language}}"{%endif%}}', + response='{"taskid":"{{task_id}}","taskstatus":"PENDING","status":"PENDING"}' +WHERE id='uapi_ktv_asr_transcribe';