Skip to content

Commit

Permalink
Merge pull request #25 from juanmc2005/develop
Browse files Browse the repository at this point in the history
Version 0.2.1
  • Loading branch information
juanmc2005 authored Jan 26, 2022
2 parents decdd4d + 20f9353 commit 9e51718
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name=diart
version=0.2
version=0.2.1
author=Juan Manuel Coria
description=Streaming speaker diarization
long_description=file: README.md
Expand Down
6 changes: 3 additions & 3 deletions src/diart/operators.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@ def accumulate(
if state.annotation is None:
annotation = value.prediction
else:
annotation = state.annotation.update(value.prediction) \
.support(patch_collar) \
.extrude(Segment(0, start_time))
annotation = state.annotation.update(value.prediction).support(patch_collar)
if start_time > 0:
annotation = annotation.extrude(Segment(0, start_time))

# Update the audio buffer if there's audio in the input
new_next_sample = state.next_sample + num_step_samples
Expand Down

0 comments on commit 9e51718

Please sign in to comment.