0

我正在尝试在 AWS Lambda 中使用 Microsoft 语音到文本 api(azure-cognitiveservices-speech)。在 AWS Lambda 中,我使用的是 docker image(public.ecr.aws/lambda/python:3.8)。当我运行代码时,出现以下错误:

Speech Recognition canceled: CancellationReason.Error
Error details: Runtime error: Failed to initialize platform (azure-c-shared)

我尝试按照https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/speech-sdk?tabs=linux%2Crhel-centos%2Cios-xcode%2Cmac-xcode解决问题%2Candroid-studio#get-the-speech-sdk 但仍然遇到同样的错误

4

0 回答 0