Skip to content

Commit

Permalink
manifest.jsonにブランド名追加
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba committed Jan 8, 2023
1 parent d824599 commit 3b5cfe1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions engine_manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"manifest_version": "0.13.1",
"name": "DUMMY VOICEVOX ENGINE",
"brand_name": "DUMMY VOICEVOX",
"uuid": "c7b58856-bd56-4aa1-afb7-b8415f824b06",
"version": "999.999.999",
"url": "https://github.com/VOICEVOX/voicevox_engine",
Expand Down
1 change: 1 addition & 0 deletions voicevox_engine/engine_manifest/EngineManifest.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class EngineManifest(BaseModel):

manifest_version: str = Field(title="マニフェストのバージョン")
name: str = Field(title="エンジン名")
brand_name: str = Field(title="ブランド名")
uuid: str = Field(title="エンジンのUUID")
url: str = Field(title="エンジンのURL")
icon: str = Field(title="エンジンのアイコンをBASE64エンコードしたもの")
Expand Down
1 change: 1 addition & 0 deletions voicevox_engine/engine_manifest/EngineManifestLoader.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def load_manifest(self) -> EngineManifest:
manifest = EngineManifest(
manifest_version=manifest["manifest_version"],
name=manifest["name"],
brand_name=manifest["brand_name"],
uuid=manifest["uuid"],
url=manifest["url"],
default_sampling_rate=manifest["default_sampling_rate"],
Expand Down

0 comments on commit 3b5cfe1

Please sign in to comment.