add context arg
This commit is contained in:
parent
d88f13cbd7
commit
973b0a9352
|
@ -207,5 +207,6 @@ def merge_lora():
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
convert_diffusion_lora("unet")
|
context = ConversionContext.from_environ()
|
||||||
convert_diffusion_lora("text_encoder")
|
convert_diffusion_lora(context, "unet")
|
||||||
|
convert_diffusion_lora(context, "text_encoder")
|
||||||
|
|
Loading…
Reference in New Issue