Skip to content

Commit 43aa56e

Browse files
authored
Merge pull request #355 from machineko/master
Fast fix for @sil problem
2 parents e42595a + cc2f7ee commit 43aa56e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tensorflow_tts/processor/libritts.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ def clean_g2p(self, g2p_text: list):
114114
"@END"
115115
) # TODO try learning without end token and compare results
116116
break
117-
data.append("@" + txt) if txt != " " else data.append(
118-
"@SIL"
119-
) # TODO change it in inference
117+
if txt != " ":
118+
data.append("@" + txt)
120119
return data

0 commit comments

Comments
 (0)