【发布时间】:2020-04-27 11:19:52
【问题描述】:
我正在尝试使用法语模型转录音频,这是我的 curl 命令:
curl -X POST -u "apikey:*********************************"
--header "Content-Type: audio/mp3"
--data-binary @C:\Users\nlouhichi.EXCHANGE\Downloads\Anne-SophieRobert.mp3
"https://api.eu-gb.speech-to-text.watson.cloud.ibm.com/instances/*****/v1/recognize?model=fr-FR_BroadbandModel×tamps=true&max_alternatives=3&interim_results=true"
即使我更改文件并使用以下教程中提供的示例,我也无法让它工作:This
我总是收到这个错误“流是 72 字节,但至少需要 100 字节” 如果我将文件更改为较小的文件,它将是相同的,但例如“流是 23 个字节,但至少需要 100 个字节。 这个流是什么我如何控制它或调整它的大小? 还是我做错了什么?
【问题讨论】:
标签: postman speech-recognition ibm-watson speech-to-text