Merge d867784d98d0047b8940e833d338dcd0ad04a4d1 into 04a44eb977586645f33594b72af13a035a2056c6

This commit is contained in:
Tai An 2026-10-31 08:58:40 -07:00 committed by GitHub
commit 4aee691855
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -86,7 +86,7 @@ def text_to_sequence(text, language, version=None):
version = os.environ.get("version", version)
if version is None:
version = "v2"
phones = clean_text(text)
phones, _, _ = clean_text(text, language, version)
return cleaned_text_to_sequence(phones, version)