stable-diffusion-webui
stable-diffusion-webui copied to clipboard
Some needs for extension
1.extensions need use init images components 2.add an administrator option to permit visit all files in PC
Pushing those individual components up to be globals seems a little excessive, and further extension through the same method is going to be a pain, have we considered making them properties on their individual 'Block's and exposing the interfaces:
interfaces = [
(txt2img_interface, "txt2img", "txt2img"),
(img2img_interface, "img2img", "img2img"),
(extras_interface, "Extras", "extras"),
(pnginfo_interface, "PNG Info", "pnginfo"),
(modelmerger_interface, "Checkpoint Merger", "modelmerger"),
(train_interface, "Train", "ti"),
]
at a module level instead?
I change needs in this issue 3718, and I am working on combine the codes into one module