fix: correct API method for speech-to-text functionality
--bug=1058103 --user=刘瑞斌 【应用】简易应用-语音识别模型-调试预览页-语音识别失败且停止按钮显示异常 https://www.tapd.cn/62980211/s/1727412
This commit is contained in:
parent
399e1dc6d4
commit
b2b144af7c
@ -643,7 +643,7 @@ const getSpeechToTextAPI = () => {
|
|||||||
return chatAPI.speechToText(data, loading)
|
return chatAPI.speechToText(data, loading)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return applicationApi.postTextToSpeech
|
return applicationApi.speechToText
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
const speechToTextAPI = getSpeechToTextAPI()
|
const speechToTextAPI = getSpeechToTextAPI()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user