Skip to content

Commit

Permalink
fix: params error
Browse files Browse the repository at this point in the history
  • Loading branch information
MistEO committed Apr 4, 2023
1 parent 02de07a commit 4aad679
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def __getitem__(self, index):
if self.all_in_mem:
return self.random_slice(*self.cache[index])
else:
return self.random_slice(self.get_audio(self.audiopaths[index][0]))
return self.random_slice(*self.get_audio(self.audiopaths[index][0]))

def __len__(self):
return len(self.audiopaths)
Expand Down

0 comments on commit 4aad679

Please sign in to comment.