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

Port Fairseq TTS models #2628

Merged
merged 17 commits into from
Jun 5, 2023
Prev Previous commit
Next Next commit
Make lint
  • Loading branch information
erogol committed May 23, 2023
commit c4cae85436965b1c549507302795dc83e0472131
2 changes: 1 addition & 1 deletion TTS/tts/models/vits.py
Original file line number Diff line number Diff line change
Expand Up @@ -1980,4 +1980,4 @@ def vocab(self, vocab_file):
print(self._vocab)
self.pad = " "
self._char_to_id = dict(enumerate(self._vocab))
self._id_to_char = {i: s for i, s in enumerate(self._vocab)}
self._id_to_char = {i: s for i, s in enumerate(self._vocab)} # pylint: disable=unnecessary-comprehension