easydiffusion/easydiffusion

Reloading generation parameters sometimes sets ControlNet model to undefined

ssokolow opened this issue · 0 comments

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior (usually):

  1. Reload the generation parameters for an image generated using OpenPose from JSON (clicking "Use these settings" on a previous entry in the queue also sometimes works)
  2. Click the generate/enqueue button
  3. See this error message in its queue entry:
Error: Could not find the desired model undefined! Is it present in the [path to easy-diffusion]/models/controlnet folder?
Error: Could not find the desired model undefined! Is it present in the [path to easy-diffusion]/models/controlnet folder?. Task ended after 15 seconds

The workaround is to change the ControlNet model away from and then back to OpenPose, which suggests that something which is supposed to populate that field is clearing the internal state but then neglecting to copy over the value that was correctly set in the visible drop-down widget.

I can't remember if the filter also gets reset because I always un-set and re-set both when I'm using a filter.

Expected behavior
The image should re-generate like it did before

Desktop (please complete the following information):

  • OS: Kubuntu Linux 22.04 LTS
  • Browser: Ungoogled Chromium, Flatpak release,
    Version 123.0.6312.105 (Official Build, ungoogled-chromium) (64-bit)
    Flatpak revision: effa11febbfb78564d524e6b9262ea7ec9f47d91e2f4e0dde684887191a7c188
    (Problem also observed under Firefox)
  • Version: Easy Diffusion v3.0.7