Skip to content

Commit

Permalink
Merge pull request #16 from GitYCC/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
GitYCC authored Sep 1, 2022
2 parents d36bad6 + 0719cd5 commit 9eaf01f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion g2pw/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def __init__(self, model_dir='G2PWModel/', style='bopomofo', model_source=None,
self.model_source = model_source if model_source else self.config.model_source
self.turnoff_tqdm = turnoff_tqdm

self.tokenizer = BertTokenizer.from_pretrained(self.config.model_source)
self.tokenizer = BertTokenizer.from_pretrained(self.model_source)

polyphonic_chars_path = os.path.join(model_dir, 'POLYPHONIC_CHARS.txt')
monophonic_chars_path = os.path.join(model_dir, 'MONOPHONIC_CHARS.txt')
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

setuptools.setup(
name='g2pw',
version='0.1.0',
version='0.1.1',
license='Apache License 2.0',
author='Yi-Chang Chen',
author_email='[email protected]',
Expand Down

0 comments on commit 9eaf01f

Please sign in to comment.