fix: ASR改为async+JSON修复+GPU status端点
This commit is contained in:
parent
b4c00cfae3
commit
6110710fc7
@ -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';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user