Skip to content

Commit

Permalink
Remove librosa argument name deprecation warning in Sycamore (#222)
Browse files Browse the repository at this point in the history
  • Loading branch information
clementzach authored Nov 27, 2023
1 parent 89e7aa8 commit 285ad43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forest/sycamore/read_audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def read_user_audio_recordings_stream(
if valid_file:
all_files.append(filename)
all_durations.append(librosa.get_duration(
filename=os.path.join(audio_dir, survey, filename)
path=os.path.join(audio_dir, survey, filename)
))

if len(all_files) == 0:
Expand Down

0 comments on commit 285ad43

Please sign in to comment.