Skip to content

Commit

Permalink
Update lib/transcribe.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Forissier <34337148+victorforissier@users.noreply.github.com>
  • Loading branch information
lowczarc and victorforissier authored Jan 29, 2024
1 parent 0fbaabc commit 3101aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transcribe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class Transcription implements Promise<string> {

if (!dialogue || dialogue.length === 0) {
console.warn(
"No dialogue found in transcription even though text has been transcribed. \nThis could indicate the provider you are using does not support word-level transcriptions. If you did not explicitely defined a provider when calling the transcribe function, the default provider is openai and does not support word level transcription.\nYou can switch to a provider like deepgram if you need word-level transcription. For more information check the polyfire documentation.",
"No dialogue found in transcription even though text has been transcribed. \nThis could indicate the provider you are using does not support word-level transcriptions. If you did not explicitely defined a provider when calling the transcribe function, the default provider is openai and does not support word level transcription.\nYou can switch to a provider like deepgram if you need word-level transcription. For more information check the Polyfire documentation at https://docs.polyfire.com.",
);
return [];
}
Expand Down

0 comments on commit 3101aae

Please sign in to comment.