Bump ver, rename configs_jp_extra to config_jp_extra for consistency

This commit is contained in:
litagin02
2024-03-15 12:34:54 +09:00
parent 3d8b60c03c
commit 432edcc52b
5 changed files with 5 additions and 5 deletions

View File

@@ -69,5 +69,5 @@
"use_spectral_norm": false, "use_spectral_norm": false,
"gin_channels": 256 "gin_channels": 256
}, },
"version": "2.4.dev0" "version": "2.4.0"
} }

View File

@@ -76,5 +76,5 @@
"initial_channel": 64 "initial_channel": 64
} }
}, },
"version": "2.4.dev0-JP-Extra" "version": "2.4.0-JP-Extra"
} }

View File

@@ -4,7 +4,7 @@ from style_bert_vits2.utils.strenum import StrEnum
# Style-Bert-VITS2 のバージョン # Style-Bert-VITS2 のバージョン
VERSION = "2.4.dev0" VERSION = "2.4.0"
# Style-Bert-VITS2 のベースディレクトリ # Style-Bert-VITS2 のベースディレクトリ
BASE_DIR = Path(__file__).parent.parent BASE_DIR = Path(__file__).parent.parent

View File

@@ -1,6 +1,6 @@
""" """
Style-Bert-VITS2 モデルのハイパーパラメータを表す Pydantic モデル。 Style-Bert-VITS2 モデルのハイパーパラメータを表す Pydantic モデル。
デフォルト値は configs/configs_jp_extra.json 内の定義と概ね同一で、 デフォルト値は configs/config_jp_extra.json 内の定義と概ね同一で、
万が一ロードした config.json に存在しないキーがあった際のフェイルセーフとして適用される。 万が一ロードした config.json に存在しないキーがあった際のフェイルセーフとして適用される。
""" """

View File

@@ -65,7 +65,7 @@ def initialize(
) )
default_config_path = ( default_config_path = (
"configs/config.json" if not use_jp_extra else "configs/configs_jp_extra.json" "configs/config.json" if not use_jp_extra else "configs/config_jp_extra.json"
) )
with open(default_config_path, "r", encoding="utf-8") as f: with open(default_config_path, "r", encoding="utf-8") as f: