mirror of https://github.com/coqui-ai/TTS.git
Merge branch 'dev' of https://github.com/mozilla/TTS into dev
This commit is contained in:
commit
1ec2c497a3
|
@ -92,7 +92,7 @@ class MyDataset(Dataset):
|
||||||
return phonemes
|
return phonemes
|
||||||
|
|
||||||
def _load_or_generate_phoneme_sequence(self, wav_file, text):
|
def _load_or_generate_phoneme_sequence(self, wav_file, text):
|
||||||
file_name = os.path.basename(wav_file).split('.')[0]
|
file_name = os.path.splitext(os.path.basename(wav_file))[0]
|
||||||
cache_path = os.path.join(self.phoneme_cache_path,
|
cache_path = os.path.join(self.phoneme_cache_path,
|
||||||
file_name + '_phoneme.npy')
|
file_name + '_phoneme.npy')
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue