Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(LanguageManager): allow initialisation from config with language ids file #9

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

eginhard
Copy link
Member

Noticed this when testing the mixed-language TTS:

Previously, running LanguageManager.init_from_config(config) would never use the language_ids_file if that field is present because it was overwritten in the next line with a new manager that manually parses languages from the datasets in the config. Now that is only used as a fallback.

…ids file

Previously, running `LanguageManager.init_from_config(config)` would never use
the `language_ids_file` if that field is present because it was overwritten in
the next line with a new manager that manually parses languages from the
datasets in the config. Now that is only used as a fallback.
@eginhard eginhard requested a review from KarlHajal April 19, 2024 11:29
Copy link

@KarlHajal KarlHajal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@eginhard eginhard merged commit d65ba4a into dev Apr 23, 2024
37 checks passed
@eginhard eginhard deleted the fix-language-manager branch April 23, 2024 11:50
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