Commit Graph

1112 Commits

Author SHA1 Message Date
tsukumi
7f0b252806 Refactor: add Pydantic model representing hyper-parameters of Style-Bert-VITS2 model 2024-03-08 12:49:11 +00:00
tsukumi
8fad591ac0 Fix: backported StrEnum from Python 3.11 2024-03-08 11:59:14 +00:00
tsukumi
c915215ad2 Refactor: moved transforms.py to style_bert_vits2/models/ 2024-03-08 09:43:31 +00:00
tsukumi
67ff3105c1 Refactor: moved utils.py to style_bert_vits2/models/ 2024-03-08 09:40:27 +00:00
tsukumi
fe7e31e080 Refactor: moved common/tts_model.py to style_bert_vits2/ 2024-03-08 09:34:44 +00:00
tsukumi
c1f2862889 Merge branch 'dev' of github.com:litagin02/Style-Bert-VITS2 into dev 2024-03-08 09:30:31 +00:00
tsukumi
766699e812 Fix: pyopenjtalk_worker not working 2024-03-08 09:21:09 +00:00
litagin02
ebb37ad7bb Fix multiprocessing bert_gen error of pyopenjtalk_worker 2024-03-08 18:18:38 +09: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
tsukumi
8add1b4202 Fix: maintain compatibility with Python 3.9 2024-03-08 06:14:50 +00:00
tsukumi
4a3519c4b9 Remove: Ruff
I have determined that this is excessive for this project at this time.
2024-03-08 05:51:54 +00:00
tsukumi
da7747cc67 Merge branch 'dev' of github.com:litagin02/Style-Bert-VITS2 2024-03-08 05:49:52 +00:00
tsukumi
4d5c537f95 Refactor: introducing Ruff 2024-03-08 05:02:02 +00:00
tsukumi
3f07c256e3 Refactor: make variables private that are not used externally 2024-03-08 05:01:51 +00:00
litagin02
9f01e54d2d Unify webui to single webui 2024-03-08 13:00:15 +09:00
litagin02
1cbe9648b0 Initialize pyopenjtalk worker for multi-threading 2024-03-08 12:59:27 +09:00
litagin02
817036fb82 Merge branch 'dev' into gradio 2024-03-08 11:30:53 +09:00
litagin02
25ed226acb Add speaker list api 2024-03-08 11:19:03 +09:00
litagin02
d024b71340 Fix typo 2024-03-08 10:10:53 +09:00
litagin02
5fda2103ed Merge pull request #89 from kale4eat/dev-pyopenjtalk-worker
複数プロセス利用時にユーザー辞書を活用するためのpyopenjtalk別プロセス化
2024-03-08 10:06:50 +09:00
tsukumi
70f8d53a1e Add: empty __init__.py 2024-03-07 09:09:24 +00:00
tsukumi
e57cfbf072 Remove: remove currently unused code in style_bert_vits2/models/commons.py 2024-03-07 08:46:13 +00:00
tsukumi
bffd5a67bb Fix: import error 2024-03-07 08:36:22 +00:00
tsukumi
f8f798d10a Refactor: moved text/ to style_bert_vits2/text_processing/(language)/ 2024-03-07 04:48:11 +00:00
tsukumi
d36401849b Refactor: moved monotonic_align/ to style_bert_vits2/models/monotonic_alignment.py 2024-03-07 04:36:05 +00:00
tsukumi
1450bfd06f Remove: remove webui.py, which is no longer maintained in Style-Bert-VITS2
Since app.py and server_editor.py already exist as alternative Web UI, there is no need to revive webui.py in the future.
2024-03-07 04:21:48 +00:00
tsukumi
def6d88425 Refactor: style_bert_vits2/text_processing/cleaner.py integrated into style_bert_vits2/text_processing/__init__.py
This was often used in 3 function sets and felt like a wasteful division with few lines.
2024-03-07 04:19:40 +00:00
tsukumi
b01168309d Remove: remove currently unused code in utils.py 2024-03-07 04:08:56 +00:00
tsukumi
4f11b011fd Refactor: minor adjustments 2024-03-07 03:54:02 +00:00
tsukumi
62919e904e Refactor: moved the module for extracting BERT features from text in each language to style_bert_vits2/text_processing/(language)/bert_feature.py 2024-03-07 03:34:58 +00:00
tsukumi
c3c0dd8b32 Refactor: add style_bert_vits2/text_processing/bert_models.py to hold loaded BERT models/tokenizer and replace all from_pretrained() to load_model/load_tokenizer 2024-03-07 03:31:38 +00:00
kale4eat
2994873e38 add no client timeout
summarize the except statement at disconnection
2024-03-07 09:40:21 +09:00
tsukumi
e826faf62e Refactor: moved text/cleaner.py to style_bert_vits2/text_processing/ 2024-03-07 00:24:28 +00:00
tsukumi
89825e68d8 Refactor: moved model, attentions definitions and inference code to style_bert_vits2/models/
The code has not yet been cleaned up, just moved.
2024-03-06 23:43:25 +00:00
tsukumi
a52fda7a88 Refactor: moved common/subprocess_utils.py to style_bert_vits2/utils/subprocess.py 2024-03-06 23:11:27 +00:00
tsukumi
ca4c03c67b Fix: import error 2024-03-06 23:03:06 +00:00
tsukumi
1936344c0c Refactor: remove old code that can be deleted and update where modules are imported 2024-03-06 22:51:25 +00:00
tsukumi
f880641eb5 Remove: modules under common/ that have been rewritten 2024-03-06 22:29:12 +00:00
tsukumi
9546495434 Refactor: moved commons.py to style_bert_vits2/models/ and added type definitions and comments 2024-03-06 22:17:03 +00:00
tsukumi
46c83cf89a Refactor: moved the user dictionary implementation ported from VOICEVOX to style_bert_vits2/text_processing/japanese/user_dict/ 2024-03-06 22:16:42 +00:00
tsukumi
918d168ae7 Refactor: rewrote Japanese natural language processing code imported from server_editor.py
The logic has not been changed, only renaming, splitting and moving modules on a per-function basis.
Existing code will be left in place for the time being to avoid breaking the training code, which is not subject to refactoring this time.
2024-03-06 20:56:21 +00:00
kale4eat
419d0e5bed Delete debugging traces 2024-03-06 22:38:44 +09:00
tsukumi
f26def4369 Remove: code that is not referenced anywhere 2024-03-06 12:39:24 +00:00
tsukumi
e4cd4f8423 Fix: ignore .venv/ 2024-03-06 07:38:51 +00:00
kale4eat
ed90af1b87 Enhanced server error handling
Add signal handling for when the process is killed
2024-03-06 12:13:27 +09:00