Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #111

Merged
merged 8 commits into from
Feb 15, 2023
Prev Previous commit
Next Next commit
Allow additional networks to be swapped out between batches
  • Loading branch information
space-nuko committed Feb 13, 2023
commit d98a471bbd9ba7eb3260fbdfe4c846e0092c22b8
2 changes: 1 addition & 1 deletion scripts/additional_networks.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def set_infotext_fields(self, p, params):
f"AddNet Weight B {i+1}": weight_tenc,
})

def process(self, p, *args):
def process_batch(self, p, *args, **kwargs):
unet = p.sd_model.model.diffusion_model
text_encoder = p.sd_model.cond_stage_model

Expand Down