litagin02
73b01f7172
Add another wave dash for long symbol
2024-03-14 23:31:16 +09:00
tsukumi
07d246b98b
Refactor: run "hatch run style:fmt"
2024-03-12 18:27:08 +00:00
tsukumi
483bc68d57
Refactor: unify invoke format of open() function
2024-03-12 18:00:51 +00:00
tsukumi
74af2c831c
Add: cache_dir and revision optional arguments to load_model() / load_tokenizer()
2024-03-12 17:45:10 +00:00
litagin02
dada0af2b6
Format import using isort --profile black --gitignore --lai 2 .
2024-03-11 12:37:51 +09:00
litagin02
c776c08235
Apply black formatter
2024-03-11 09:47:47 +09:00
tsukumi
9c233630ef
Refactor: don't keep models in bert_feature module for each language
...
BERT models and tokenizers are already stored and managed in the bert_models module and should not be stored here.
In addition, since there may be situations where the user would like to use cpu instead of mps for inference when using it as a library, the automatic switching process to mps was removed.
2024-03-10 14:18:57 +00:00
tsukumi
b7d7c78203
Refactor: when pyopenjtalk_worker is called without initialization, continue processing without a worker
...
When using style-bert-vits2 as a library, the requirement to be able to launch it in multiple processes may not be necessary. Also, if the library is embedded and exe-ed using PyInstaller or similar, it is difficult to make pyopenjtalk_worker run in a separate process.
Therefore, we changed it so that the worker is used only when it is explicitly initialized.
2024-03-10 03:04:27 +00:00
tsukumi
0a74fe521b
Merge branch 'dev' of github.com:litagin02/Style-Bert-VITS2 into dev
2024-03-09 18:12:56 +00:00
tsukumi
61e2a1deae
Refactor: add type hints to style_bert_vits2.models.utils
2024-03-09 17:26:42 +00:00
tsukumi
c594f7ea7a
Refactor: change execution location of pyopenjtalk.initialize()
...
Considering library design, this function with many side effects should not be executed in a library.
2024-03-09 00:26:51 +00:00
tsukumi
717ba7925f
Fix: app.py cannot be closed with Ctrl+C
2024-03-08 22:27:21 +00:00
tsukumi
d22a11ebb2
Fix: a bug that prevented speech synthesis in app.py
2024-03-08 22:09:47 +00:00
tsukumi
30ea08d6ea
Fix: forgot to write pyopenjtalk.initialize()
2024-03-08 18:22:40 +00:00
tsukumi
b9e486e72a
Fix: extend timeout for style_bert_vits2.nlp.japanese.pyopenjtalk_worker.worker_client
...
ref: https://github.com/litagin02/Style-Bert-VITS2/pull/91
2024-03-08 16:44:56 +00:00
tsukumi
6b19eac61e
Merge branch 'dev' of github.com:litagin02/Style-Bert-VITS2 into dev
2024-03-08 16:03:06 +00:00
tsukumi
766699e812
Fix: pyopenjtalk_worker not working
2024-03-08 09:21:09 +00:00
tsukumi
df68771651
Refactor: split style_bert_vits2.nlp.chinese package
...
Configured so that the same public function is exported from the module with the same name for each language.
2024-03-08 09:04:40 +00:00
tsukumi
a672aeefd9
Fix: maintain compatibility with Python 3.9
2024-03-08 08:45:56 +00:00
tsukumi
e2daa55000
Refactor: split style_bert_vits2.nlp.english package
2024-03-08 08:43:54 +00:00
tsukumi
5de4884075
Fix: import error
...
pyopenjtalk_worker.initialize() has the side effect of starting another process and should not be executed automatically on import.
2024-03-08 07:31:33 +00:00
tsukumi
75467936d9
Refactor: cleanup style_bert_vits2/nlp/english/__init__.py
2024-03-08 06:39:51 +00:00
tsukumi
fac4f9a8ab
Refactor: rename text_processing to nlp
...
"text_processing" is clearer, but the import statement is longer.
"nlp" is shorter and makes it clear that it is natural language processing.
2024-03-08 06:20:44 +00:00