Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manifest.jsonにブランド名追加 #567

Merged
merged 2 commits into from
Jan 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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