Support loading hf models

Signed-off-by: makaveli10 <vineet.suryan@collabora.com>
This commit is contained in:
makaveli10
2024-11-26 11:14:18 +05:30
parent 446fc6e835
commit 2eff360b9e
2 changed files with 41 additions and 30 deletions
+1 -1
View File
@@ -87,7 +87,7 @@ client = TranscriptionClient(
9090,
lang="en",
translate=False,
model="small",
model="small", # also support hf_model => `Systran/faster-whisper-small`
use_vad=False,
save_output_recording=True, # Only used for microphone input, False by Default
output_recording_filename="./output_recording.wav", # Only used for microphone input