Persist default Number values

This commit is contained in:
DepFA 2022-09-25 06:39:22 +01:00 committed by AUTOMATIC1111
parent ca13264609
commit ab5a472556

View file

@ -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")