From bf883789bd929f91fe4642ee035107b0f7678a3f Mon Sep 17 00:00:00 2001 From: litagin02 Date: Wed, 7 Feb 2024 10:20:58 +0900 Subject: [PATCH] Fix filename --- webui_merge.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/webui_merge.py b/webui_merge.py index 7820651..96fc366 100644 --- a/webui_merge.py +++ b/webui_merge.py @@ -87,8 +87,8 @@ def merge_style(model_name_a, model_name_b, weight, output_name, style_triple_li ) as f: json.dump(new_config, f, indent=2, ensure_ascii=False) - # info.jsonを読み込んで、style_triple_listを追記 - info_path = os.path.join(assets_root, output_name, "info.json") + # recipe.jsonを読み込んで、style_triple_listを追記 + info_path = os.path.join(assets_root, output_name, "recipe.json") if os.path.exists(info_path): with open(info_path, encoding="utf-8") as f: info = json.load(f) @@ -259,7 +259,7 @@ initial_md = """ 以上でマージは完了で、`model_assets/マージ後のモデル名`にマージ後のモデルが保存され、音声合成のときに使えます。 -また`model_asses/マージ後のモデル名/info.json`には、マージ前のモデル名やマージの重みが記録されます(推論にはいらないので配合メモ用です)。 +また`model_asses/マージ後のモデル名/recipe.json`には、マージの配合レシピが記録されます(推論にはいらないので配合メモ用です)。 一番下にマージしたモデルによる簡易的な音声合成機能もつけています。