fix: typo

This commit is contained in:
MistEO 2023-04-03 17:59:37 +08:00 committed by GitHub
parent 24f39f20ef
commit da42bad844
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ class TextAudioSpeakerLoader(torch.utils.data.Dataset):
def __getitem__(self, index):
if self.all_in_mem:
return self.cache[i]
return self.cache[index]
else:
return self.get_audio(self.audiopaths[index][0])