瀏覽代碼

Merge pull request #2206 from VanJohnPK/master

fix azure voice error 修复Azure语音服务报错问题
master
Saboteur7 GitHub 2 月之前
父節點
當前提交
469524e8ae
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: B5690EEEBB952194
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      voice/azure/azure_voice.py

+ 1
- 1
voice/azure/azure_voice.py 查看文件

@@ -65,7 +65,7 @@ class AzureVoice(Voice):
reply = Reply(ReplyType.TEXT, result.text)
else:
cancel_details = result.cancellation_details
logger.error("[Azure] voiceToText error, result={}, errordetails={}".format(result, cancel_details.error_details))
logger.error("[Azure] voiceToText error, result={}, errordetails={}".format(result, cancel_details))
reply = Reply(ReplyType.ERROR, "抱歉,语音识别失败")
return reply



Loading…
取消
儲存