tori29umai commited on
Commit
340289f
1 Parent(s): 498bc9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -46,7 +46,7 @@ def load_model(lora_model):
46
  # LoRAモデルの設定
47
  if lora_model == "とりにく風":
48
  pipe.load_lora_weights(lora_dir, weight_name="tori29umai_line.safetensors", adapter_name="tori29umai_line")
49
- pipe.set_adapters(["tori29umai_line"], adapter_weights=[0.55])
50
  elif lora_model == "プレーン":
51
  pass # プレーンの場合はLoRAを読み込まない
52
 
 
46
  # LoRAモデルの設定
47
  if lora_model == "とりにく風":
48
  pipe.load_lora_weights(lora_dir, weight_name="tori29umai_line.safetensors", adapter_name="tori29umai_line")
49
+ pipe.set_adapters(["tori29umai_line"], adapter_weights=[0.6])
50
  elif lora_model == "プレーン":
51
  pass # プレーンの場合はLoRAを読み込まない
52