Skip to content

Commit

Permalink
Fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
erogol committed Jun 26, 2023
1 parent d659dbe commit 3933b47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/text_tests/test_tokenizer.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import unittest
from dataclasses import dataclass
from dataclasses import dataclass, field

from coqpit import Coqpit

Expand Down Expand Up @@ -86,11 +86,11 @@ class TokenizerConfig(Coqpit):
enable_eos_bos_chars: bool = True
use_phonemes: bool = True
add_blank: bool = False
characters: str = Characters()
characters: str = field(default_factory=Characters)
phonemizer: str = "espeak"
phoneme_language: str = "tr"
text_cleaner: str = "phoneme_cleaners"
characters = Characters()
characters = field(default_factory=Characters)

tokenizer_ph, _ = TTSTokenizer.init_from_config(TokenizerConfig())
tokenizer_ph.phonemizer.backend = "espeak"
Expand Down

0 comments on commit 3933b47

Please sign in to comment.