Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
Bug fix
  • Loading branch information
hathibelagal-dev committed Jul 31, 2023
1 parent 20fd267 commit 63dac74
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TTS/tts/utils/text/phonemizers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ def get_phonemizer_by_name(name: str, **kwargs) -> BasePhonemizer:
kwargs (dict):
Extra keyword arguments that should be passed to the phonemizer.
"""
global JAPANESE_ENABLED
if name == "espeak":
return ESpeak(**kwargs)
if name == "gruut":
Expand Down

0 comments on commit 63dac74

Please sign in to comment.