|
@@ -195,6 +195,7 @@ async def transcribe_audio(audio_data: bytes) -> str:
|
|
|
"X-Api-Key": config.VOLC_ASR_API_KEY,
|
|
"X-Api-Key": config.VOLC_ASR_API_KEY,
|
|
|
"X-Api-Resource-Id": config.VOLC_ASR_RESOURCE_ID,
|
|
"X-Api-Resource-Id": config.VOLC_ASR_RESOURCE_ID,
|
|
|
"X-Api-Connect-Id": connect_id,
|
|
"X-Api-Connect-Id": connect_id,
|
|
|
|
|
+ "X-Api-Sequence": -1
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
# 3. 构建初始请求参数
|
|
# 3. 构建初始请求参数
|