mrhan1993 / Fooocus-API

FastAPI powered API for Fooocus
GNU General Public License v3.0
502 stars 131 forks source link

Unable to use "inpaint" version of popular models #344

Closed alexatnv closed 4 weeks ago

alexatnv commented 1 month ago

I am able to manually load in Jugg V9, X, V8 without any issues as the base model - see example below:

    base_model_name = "Juggernaut_X_RunDiffusion.safetensors" 
    result = inpaint_outpaint(
 base_model_name=base_model_name
)

but if I load the "inpaint" model of any of these, then Fooocus will not work. (eg, Juggernaut XL inpainting, or Jugg v8 inpainting).

Should inpaint models not be loaded as "base_model_name"?