From e3c7666cf7ce2095bf12796be907e67b40cac5c4 Mon Sep 17 00:00:00 2001 From: makaveli10 Date: Thu, 15 Feb 2024 18:13:26 +0530 Subject: [PATCH] update readme with use_vad --- README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c4712df..5d4c323 100644 --- a/README.md +++ b/README.md @@ -58,7 +58,8 @@ client = TranscriptionClient( 9090, lang="en", translate=False, - model="small" + model="small", + use_vad=False, ) client("tests/jfk.wav") @@ -73,11 +74,12 @@ client = TranscriptionClient( 9090, lang="hi", translate=True, - model="small" + model="small", + use_vad=True, ) client() ``` -This command captures audio from the microphone and sends it to the server for transcription. It uses the multilingual model with `hi` as the selected language. We use whisper `small` by default but can be changed to any other option based on the requirements and the hardware running the server. +This command captures audio from the microphone and sends it to the server for transcription. It uses the multilingual model with `hi` as the selected language. We use whisper `small` by default but can be changed to any other option based on the requirements and the hardware running the server. The server also has an option to use `VAD`(voice activity detection) which is set to True by default. - To transcribe from a HLS stream: ```python