Skip to content

Random.py little things to fix #3

@Harvester62

Description

@Harvester62

A few things I noticed in the Random.py execution at startup of the webui-user.bat that might need a check:

in the console the following messages are printed that weren't displayed before (a little confusing; are they really needed to be pinted on screen? Just asking for curiosity):

is_img2img : False;
is_img2img : True;

the following warnings are also displayed in the console, twice:

Warning: Bad ui setting value: customscript/Random.py/txt2img/fix width height direction/value: 0; Default value "0" will be used instead.
Warning: Bad ui setting value: customscript/Random.py/img2img/fix width height direction/value: 0; Default value "0" will be used instead.

At line 77 there is a misspelled word, "olny" instead of "only"

In the Web UI, the titles "olny i2i option" and "size" have a large spacing between characters; is it intentional? They look a little strange: "o l n y i 2 i o p t i o n" and "s i z e".

For better clarity of they functioning, may I suggest you to write the parameter's labels as follow, so it is clearer that they may work in both directions? It's only a suggestion.

E.g.:

steps min/max
steps max/min

width 1 min/max
width 2 max/min

and so on for all the other parameters.

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions