stable-diffusion-webui icon indicating copy to clipboard operation
stable-diffusion-webui copied to clipboard

Some needs for extension

Open yfszzx opened this issue 3 years ago • 1 comments

1.extensions need use init images components 2.add an administrator option to permit visit all files in PC

yfszzx avatar Oct 25 '22 07:10 yfszzx

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?

dfaker avatar Oct 25 '22 08:10 dfaker

I change needs in this issue 3718, and I am working on combine the codes into one module

yfszzx avatar Oct 26 '22 13:10 yfszzx