Skip to content

Commit

Permalink
manifest.jsonにブランド名追加 (#567)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiroshiba authored Jan 9, 2023
1 parent d824599 commit 9de65e7
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ python run.py --output_log_utf8

CPU スレッド数が未指定の場合は、論理コア数の半分か物理コア数が使われます。(殆どの CPU で、これは全体の処理能力の半分です)
もし IaaS 上で実行していたり、専用サーバーで実行している場合など、
VOICEVOX ENGINE が使う処理能力を調節したい場合は、CPU スレッド数を指定することで実現できます。
エンジンが使う処理能力を調節したい場合は、CPU スレッド数を指定することで実現できます。

- 実行時引数で指定する

Expand Down
3 changes: 2 additions & 1 deletion 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",
"name": "DUMMY Engine",
"brand_name": "DUMMY",
"uuid": "c7b58856-bd56-4aa1-afb7-b8415f824b06",
"version": "999.999.999",
"url": "https://github.com/VOICEVOX/voicevox_engine",
Expand Down
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ def generate_app(
default_sampling_rate = synthesis_engines[latest_core_version].default_sampling_rate

app = FastAPI(
title="VOICEVOX ENGINE",
title="VOICEVOX Engine",
description="VOICEVOXの音声合成エンジンです。",
version=__version__,
)
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 9de65e7

Please sign in to comment.