fix: typo
This commit is contained in:
parent
24f39f20ef
commit
da42bad844
|
@ -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])
|
||||
|
||||
|
|
Loading…
Reference in New Issue