Skip to content

Commit 1a2bb5d

Browse files
author
James Walker
committed
Fix transcription example
1 parent eef633c commit 1a2bb5d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

examples/transcribe_from_microphone.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,11 @@ async def transcribe_from_device(device, speechmatics_client, language: str, max
3333
enable_partials=True,
3434
enable_entities=True,
3535
)
36-
await speechmatics_client.run(RawInputStreamWrapper(stream), conf, settings)
36+
await speechmatics_client.run(
37+
transcription_config=conf,
38+
stream=RawInputStreamWrapper(stream),
39+
audio_settings=settings,
40+
)
3741

3842

3943
def main(args):

0 commit comments

Comments
 (0)