Skip to content

xtts/tokenizer: merge duplicate implementations of preprocess_text - #3170

Merged
erogol merged 1 commit into
coqui-ai:devfrom
akx:xtts-tokenizer-fix-dupe
Nov 9, 2023
Merged

erogol merged 1 commit into
coqui-ai:devfrom
akx:xtts-tokenizer-fix-dupe

Conversation

@akx

@akx akx commented Nov 8, 2023 •

Copy link
Copy Markdown
Contributor

This was found w/ ruff:

F811 Redefinition of unused preprocess_text from line 570

I merged the lists of language codes (one list was missing Hungarian) and re-included the Korean check that was missing from one instance of the function.

This was found via ruff:

> F811 Redefinition of unused `preprocess_text` from line 570
@erogol
erogol merged commit a8e9163 into coqui-ai:dev Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants