Commit ab5a4725 authored by DepFA's avatar DepFA Committed by AUTOMATIC1111
Browse files

Persist default Number values

parent ca132646
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -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")