daveschumaker / artbot-for-stable-diffusion

A front-end GUI for interacting with the AI Horde / Stable Diffusion distributed cluster
https://tinybots.net/artbot
MIT License
172 stars 40 forks source link

Automatically disable hires fix when model baseline is "stable_diffusion_xl" #217

Closed daveschumaker closed 7 months ago

daveschumaker commented 7 months ago

This is tripping up users and causing a lot of friction in SDXL workflows.

Screenshot 2024-01-11 at 6 45 05 AM

Solution seems to be to silently handle this and automagically set hires to false if baseline is SDXL:

Inside the cloneImageParams method

  if (
    modelDetails[clonedParams.models[0]] &&
    modelDetails[clonedParams.models[0]].baseline !== 'stable_diffusion_xl'
  ) {
    clonedParams.hires = false
  }

(Documenting this so future me doesn't hate past me when I stumble upon this).

daveschumaker commented 7 months ago

Fixed in today's deploy!