mirror of
https://github.com/wiseguru/ReWrite-Voice-Notes.git
synced 2026-07-22 07:49:19 +00:00
fix AssemblyAI
This commit is contained in:
parent
4c4e052762
commit
624e240cc1
1 changed files with 1 additions and 1 deletions
|
|
@ -47,7 +47,7 @@ export function createAssemblyAITranscription(): TranscriptionProvider {
|
|||
}
|
||||
|
||||
const createBody: Record<string, unknown> = { audio_url: uploadUrl };
|
||||
if (config.model) createBody.speech_model = config.model;
|
||||
if (config.model) createBody.speech_models = [config.model];
|
||||
if (config.language) createBody.language_code = config.language;
|
||||
const created = await jsonPost<TranscriptCreateResponse>(
|
||||
'assemblyai',
|
||||
|
|
|
|||
Loading…
Reference in a new issue