Skip to content

Commit

Permalink
adding min and max speaker support
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-roethig-db committed May 25, 2024
1 parent 02f6dcc commit 91d355a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amondin/segment_speakers.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def segment_speakers(
# store all passages in a list of dicts
speaker_segments = []
for segment in segments:
print(segment.duration())
print(segment.duration)
# get audio passages as numpy array
waveform, sample_rate = Audio().crop(audio, segment, mode="pad")
waveform = torch.squeeze(waveform)
Expand Down

0 comments on commit 91d355a

Please sign in to comment.