Persist default Number values
This commit is contained in:
parent
ca13264609
commit
ab5a472556
1 changed files with 4 additions and 1 deletions
|
@ -1063,6 +1063,9 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
|
|||
if type(x) == gr.Textbox:
|
||||
apply_field(x, 'value')
|
||||
|
||||
if type(x) == gr.Number:
|
||||
apply_field(x, 'value')
|
||||
|
||||
visit(txt2img_interface, loadsave, "txt2img")
|
||||
visit(img2img_interface, loadsave, "img2img")
|
||||
visit(extras_interface, loadsave, "extras")
|
||||
|
|
Loading…
Reference in a new issue