Skip to content

Commit bd3ce83

Browse files
authored
Update tts_trainer.py
1 parent b5eca77 commit bd3ce83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/tts/base/tts_trainer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,8 +712,8 @@ def _save_phone_symbols_file_to_exp_path(self):
712712
phone_symbols_file_to_exp_path = os.path.join(
713713
self.exp_dir, self.cfg.preprocess.symbols_dict
714714
)
715-
os.chmod(phone_symbols_file_to_exp_path, 0o666)
716715
shutil.copy(phone_symbols_file, phone_symbols_file_to_exp_path)
716+
os.chmod(phone_symbols_file_to_exp_path, 0o666)
717717
print(
718718
"phone symbols been dumped to {}".format(
719719
os.path.join(self.exp_dir, self.cfg.preprocess.symbols_dict)

0 commit comments

Comments
 (0)