multimodalart HF Staff commited on
Commit
1fd24dc
·
verified ·
1 Parent(s): 8df45ae

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -192,7 +192,7 @@ def _custom_convert_non_diffusers_wan_lora_to_diffusers(state_dict):
192
  return final_peft_state_dict
193
 
194
 
195
- def apply_manual_diff_patches(pipe_model: torch.nn.Module, patches: Dict[str, torch.Tensor]):
196
  """
197
  Manually applies diff_b/diff patches to the model.
198
  Assumes PEFT LoRA layers have already been loaded.
 
192
  return final_peft_state_dict
193
 
194
 
195
+ def apply_manual_diff_patches(pipe_model, patches):
196
  """
197
  Manually applies diff_b/diff patches to the model.
198
  Assumes PEFT LoRA layers have already been loaded.