update readme
This commit is contained in:
@@ -88,6 +88,7 @@ def _align_from_txt(model, audio_path, txt_path, output_path, output_format, lan
|
||||
original_split=True,
|
||||
regroup=False,
|
||||
vad=True,
|
||||
nonspeech_skip=None, # use vad to trim line timings but not skip internal non-speech sections
|
||||
)
|
||||
|
||||
if not result or not list(result.segments):
|
||||
@@ -123,7 +124,8 @@ def _refine_from_lrc(model, audio_path, lrc_path, output_path, output_format, la
|
||||
audio_path,
|
||||
parsed.segments,
|
||||
language=language,
|
||||
vad=True,
|
||||
vad=False, # don't trim existing line timings
|
||||
suppress_silence=False, # don't adjust word timestamps on detected silence
|
||||
regroup=False,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user