Skip to content

Commit

Permalink
Update data_utils.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Stardust-minus authored Sep 30, 2023
1 parent a862bd4 commit 3ec3a1a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ def get_text(self, text, word2ph, phone, tone, language_str, wav_path):
word2ph[i] = word2ph[i] * 2
word2ph[0] += 1
bert_path = wav_path.replace(".wav", ".bert.pt")
try:
bert = torch.load(bert_path)
#try:
bert = torch.load(bert_path)
#except:
# bert = get_bert(text, word2ph, language_str, "cuda", tokenizer)
# torch.save(bert, bert_path)
Expand Down

0 comments on commit 3ec3a1a

Please sign in to comment.