File tree 2 files changed +3
-0
lines changed
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -332,6 +332,8 @@ def get_installed_aivm_infos(
332
332
latest_version = aivm_manifest .version , # 初期値として AIVM マニフェスト記載のバージョンを設定
333
333
# AIVMX ファイルのインストール先パス
334
334
file_path = aivm_file_path ,
335
+ # AIVMX ファイルのインストールサイズ (バイト単位)
336
+ file_size = aivm_file_path .stat ().st_size ,
335
337
# AIVM マニフェスト
336
338
manifest = aivm_manifest ,
337
339
# 話者情報は後で追加するため、空リストを渡す
Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ class AivmInfo(BaseModel):
108
108
title = "この音声合成モデルの AivisHub で公開されている最新バージョン (AivisHub で公開されていない場合は AIVM マニフェスト記載のバージョン)"
109
109
)
110
110
file_path : Path = Field (title = "AIVMX ファイルのインストール先パス" )
111
+ file_size : int = Field (title = "AIVMX ファイルのインストールサイズ (バイト単位)" )
111
112
manifest : AivmManifest = Field (title = "AIVM マニフェスト" )
112
113
speakers : list [LibrarySpeaker ] = Field (
113
114
title = "話者情報のリスト (VOICEVOX ENGINE 互換)"
You can’t perform that action at this time.
0 commit comments