mirror of
https://github.com/2noise/ChatTTS
synced 2024-11-23 17:43:01 +00:00
fix(test): trim tags position
This commit is contained in:
parent
000cfcbb15
commit
69aa9001e6
@ -41,7 +41,7 @@ def trim_tags(txt: str) -> str:
|
||||
|
||||
|
||||
for i, t in enumerate(refined):
|
||||
if len(t) > 4 * len(trim_tags(texts[i])):
|
||||
if len(trim_tags(t)) > 4 * len(texts[i]):
|
||||
fail = True
|
||||
logger.warning("in: %s, out: %s", texts[i], t)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user