![](/img/trans.png)
[英]How to fix “Org or space not found” error while creating toolchain in IBM cloud?
[英]How to fix this error and what does this error mean in IBM Cloud?
現在我想使用 IBM Cloud 上的“Speech to Text”從語音數據 mp3 中獲取日語文本。
但是,經過多次嘗試后,我得到了與以下相同的錯誤。
<HTML><HEAD>
<TITLE>Internal Server Error</TITLE>
</HEAD><BODY>
<H1>Internal Server Error - Write</H1>
The server encountered an internal error or
misconfiguration and was unable to
complete your request.
這是我的 curl 代碼。
curl -X POST -u "apikey:{apikey}" \
--header "Content-Type: audio/mp3" \
--data-binary @{path_to_file} \
"https://gateway-tok.watsonplatform.net/speech-t
o-text/api/v1/recognize?model=jaJP_BroadbandModel"
你在模型中有一個錯字,它應該是ja-JP_BroadbandModel
試試這個代碼
請注意:在{url} 之后,您必須輸入/v1/recognize
*audio-file.flac是音頻文件的名稱
curl -X POST -u "apikey:{apikey}" ^ --header "Content-Type: audio/flac" ^ --data-binary @{audio file path}audio-file.flac ^ "{url}/v1/recognize"
快樂編碼:)
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.