Azure cognitiveservices runtime error
Hi,I want to build a gradio app on spaces. I use microsoft azure cognitiveservices in the “app.py” file. The space gave me an error as follows,image1578×850 243 KBThe following code is the way how I use azure cognitiveservices in my code,import azure.cognitiveservices.speech as speechsdk
speech_config = speechsdk.SpeechConfig(subscription=os.getenv('SPEECH_KEY'), region=os.getenv('SPEECH_REGION'))
speech_config.speech_synthesis_voice_name = 'en-US-JennyNeural'
speech_synthesizer = speechsdk.SpeechSynthesizer(speech_config=speech_config, audio_config=None)    # Error happens on this line !I have added the “packages.txt” file and the “requirements.txt” at the root of the project, and the content of this file is as follows,packages.txtbuild-essential 
libssl-dev 
ca-certificates 
libasound2 
wgetrequirements.txtazure-cognitiveservices-speechIs anyone know how to fix this issue? Thanks…
2024-04-30T18:58:26Z
I got the same error. Have you found the solution yet?