You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm testing the audio recognizer. When testing in my local flask development webserver, everything works find. But when testing the web app deployed to Azure, I get this result:
{'status': {'msg': 'Unknow Error:<built-in function create_fingerprint_by_filebuffer> returned a result with an exception set', 'code': 2010}}
This is the code I'm using, where buf is the audio buffer I'm sending:
configuration = {
'host': config.acrcloud_host,
'access_key': config.acrcloud_access_key,
'access_secret': config.acrcloud_access_secret,""
'timeout': 10 # Tempo massimo di attesa per la risposta
}
recognizer = ACRCloudRecognizer(configuration)
result = recognizer.recognize_by_filebuffer(buf, 0)
result_dict = json.loads(result)
The text was updated successfully, but these errors were encountered:
I'm testing the audio recognizer. When testing in my local flask development webserver, everything works find. But when testing the web app deployed to Azure, I get this result:
{'status': {'msg': 'Unknow Error:<built-in function create_fingerprint_by_filebuffer> returned a result with an exception set', 'code': 2010}}
This is the code I'm using, where
buf
is the audio buffer I'm sending:The text was updated successfully, but these errors were encountered: