Acly / comfyui-inpaint-nodes

Nodes for better inpainting with ComfyUI: Fooocus inpaint model for SDXL, LaMa, MAT, and various other tools for pre-filling inpaint & outpaint areas.
GNU General Public License v3.0
634 stars 42 forks source link

Where should I put these two files? Thank you for your answer #56

Closed 7zoo closed 3 months ago

7zoo commented 4 months ago

image

elvizlai commented 3 months ago

*.patch file not found even I put it in models/inpaint folder after upgrading ComfyUI to latest.

niu211 commented 3 months ago

image I also found the same problem after upgrading. These two files are not recognized.

Acly commented 3 months ago

They're still listed for me, latest ComfyUI (a82fae2375744a73d63268bc4e167649e3f026e0)

elvizlai commented 3 months ago

that's strange, I use the same version(a82fae2375744a73d63268bc4e167649e3f026e0), and I check out ComyUI to 7 day's ago and restart, the patch file still NOT listed. Maybe another nodes changed the "_add_folder_path"?

elvizlai commented 3 months ago

Conflict with custom_nodes Fooocus_Nodes, after remove it, the *.patch listed.

Acly commented 3 months ago

Makes sense. Those nodes overwrite the list of allowed file extensions for the inpaint folder. If they are loaded afterwards, .patch is no longer an allowed extension.

Here is how I do it, which extends extensions from other custom nodes rather than overwriting them.