Skip to content

TTS/TTS/tts/layers/xtts/tokenizer.py", line 180, in expand_abbreviations_multilingual for regex, replacement in _abbreviations[lang]: KeyError: 'zh-cn'[Bug]  #3189

@lucasjinreal

Description

@lucasjinreal

Describe the bug

TTS/TTS/tts/layers/xtts/tokenizer.py", line 180, in expand_abbreviations_multilingual
for regex, replacement in _abbreviations[lang]:
KeyError: 'zh-cn'

To Reproduce

TTS/TTS/tts/layers/xtts/tokenizer.py", line 180, in expand_abbreviations_multilingual
for regex, replacement in _abbreviations[lang]:
KeyError: 'zh-cn'

Expected behavior

TTS/TTS/tts/layers/xtts/tokenizer.py", line 180, in expand_abbreviations_multilingual
for regex, replacement in _abbreviations[lang]:
KeyError: 'zh-cn'

Logs

TTS/TTS/tts/layers/xtts/tokenizer.py", line 180, in expand_abbreviations_multilingual
    for regex, replacement in _abbreviations[lang]:
KeyError: 'zh-cn'

Environment

TTS/TTS/tts/layers/xtts/tokenizer.py", line 180, in expand_abbreviations_multilingual
    for regex, replacement in _abbreviations[lang]:
KeyError: 'zh-cn'

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingwontfixThis will not be worked on but feel free to help.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions