change exception type in TTSDataset loading audio file

pull/10/head
Eren Golge 2019-04-12 16:12:31 +02:00
parent 9466505f27
commit 455667d2a4
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class MyDataset(Dataset):
try:
audio = self.ap.load_wav(filename)
return audio
except RuntimeError as e:
except:
print(" !! Cannot read file : {}".format(filename))
def load_np(self, filename):