Coyote-A/ultimate-upscale-for-automatic1111

Access fields (ids) for queue extension

Stibo opened this issue · 1 comments

Stibo commented

I tried to implement the Ultimate Upscale extension into my queue workflow (https://github.com/Kryptortio/SDAtom-WebUi-client-queue-ext) but I'm not able to access the img2img fields with a script, because the fields have no unique selector for javascript and no gradio element id. Is it possible to access the fields somehow? Or that you can add some unique ids/names or a gradio element id to fiel fields? Currently, the fields are all anonyme and as far as I know not accessible for something like this here: Kryptortio/SDAtom-WebUi-us#22.

Is there any other solution? Or maybe a future update that add some ids to the fields?

I'm the author of Config Presets and would also like to have IDs added to the components so that they can be used as part of a config preset.

It should be simple to implement, just add elem_id="..." to all the components in the python code.