mirror of
https://github.com/pstrueb/piper.git
synced 2026-04-18 06:15:30 +00:00
Add piper_version to config.json
This commit is contained in:
@@ -1 +1 @@
|
||||
0.1.0
|
||||
1.0.0
|
||||
|
||||
@@ -26,6 +26,8 @@ from .phonemize import (
|
||||
phonemize,
|
||||
)
|
||||
|
||||
_DIR = Path(__file__).parent
|
||||
_VERSION = (_DIR / "VERSION").read_text(encoding="utf-8").strip()
|
||||
_LOGGER = logging.getLogger("preprocess")
|
||||
|
||||
|
||||
@@ -151,6 +153,7 @@ def main() -> None:
|
||||
"num_symbols": MAX_PHONEMES,
|
||||
"num_speakers": len(speaker_counts),
|
||||
"speaker_id_map": speaker_ids,
|
||||
"piper_version": _VERSION,
|
||||
},
|
||||
config_file,
|
||||
ensure_ascii=False,
|
||||
|
||||
Reference in New Issue
Block a user