Skip to content

Commit

Permalink
Fix for failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcauliffe committed Jun 24, 2024
1 parent a98ed82 commit bfbf935
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion montreal_forced_aligner/vad/multiprocessing.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,8 @@ def segment_utterance_transcript(
)
else:
segments = segment_utterance_vad_speech_brain(utterance, vad_model, segmentation_options)

if not segments:
return [utterance]
config = LatticeFasterDecoderConfig()
config.beam = beam
config.lattice_beam = lattice_beam
Expand Down

0 comments on commit bfbf935

Please sign in to comment.