Skip to content

Commit

Permalink
fix(norm): tag splitting logic
Browse files Browse the repository at this point in the history
  • Loading branch information
fumiama committed Aug 2, 2024
1 parent adf1457 commit e6b35a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ChatTTS/norm.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ def __call__(
if _lang in self.normalizers:
texts, tags = _split_tags(text)
self.logger.debug("split texts %s, tags %s", str(texts), str(tags))
texts = [self.normalizers[_lang](t) for t in text]
texts = [self.normalizers[_lang](t) for t in texts]
self.logger.debug("normed texts %s", str(texts))
text = _combine_tags(texts, tags)
self.logger.debug("combined text %s", text)
Expand Down

0 comments on commit e6b35a9

Please sign in to comment.