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

Persist default Number values

parent ca132646
......@@ -1062,7 +1062,10 @@ 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")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment