Closed chien-liu closed 5 months ago
This pull request addresses issue #183. The feature request is to customize the location of the client transcription.
Added an argument to TranscriptionClient to specify the location where the transcription file should be saved.
from whisper_live.client import TranscriptionClient client = TranscriptionClient( "localhost", 9090, lang="en", translate=False, model="small", use_vad=False, output_transcription_path="my_customized_output.srts" # Specify the location of transcription ) client( hls_url="http://as-hls-ww-live.akamaized.net/pool_904/live/ww/bbc_1xtra/bbc_1xtra.isml/bbc_1xtra-audio%3d96000.norewind.m3u8")
Fixes #183
Description
This pull request addresses issue #183. The feature request is to customize the location of the client transcription.
Changes Made
Added an argument to TranscriptionClient to specify the location where the transcription file should be saved.
Example Code
Issue Reference
Fixes #183