From 1e2f91e197dd60e688e17a43fa6fa737b0f0a80b Mon Sep 17 00:00:00 2001 From: XXXXRT666 Date: Fri, 2 Aug 2024 18:27:08 +0800 Subject: [PATCH] chores --- GPT_SoVITS/text/.gitignore | 2 ++ requirements.txt | 7 ++++++- tools/asr/config.py | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 GPT_SoVITS/text/.gitignore diff --git a/GPT_SoVITS/text/.gitignore b/GPT_SoVITS/text/.gitignore new file mode 100644 index 00000000..1cd68f38 --- /dev/null +++ b/GPT_SoVITS/text/.gitignore @@ -0,0 +1,2 @@ +G2PWModel +__pycache__ \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 2fc7a0a3..7d79a58d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26,4 +26,9 @@ jieba LangSegment>=0.2.0 Faster_Whisper wordsegment -rotary_embedding_torch \ No newline at end of file +rotary_embedding_torch +pyjyutping +g2pk2 +ko_pron +eunjeon; sys_platform != 'windows' +python_mecab_ko; sys_platform != 'windows' diff --git a/tools/asr/config.py b/tools/asr/config.py index d7e184c1..b2e59ea8 100644 --- a/tools/asr/config.py +++ b/tools/asr/config.py @@ -24,7 +24,7 @@ asr_dict = { 'precision': ['float32'] }, "Faster Whisper (多语种)": { - 'lang': ['auto', 'zh', 'en', 'ja'], + 'lang': ['auto', 'zh', 'en', 'ja', 'ko', 'yue'], 'size': check_fw_local_models(), 'path': 'fasterwhisper_asr.py', 'precision': ['float32', 'float16', 'int8']