restored="the webui version and all saved extension versions";
}
letconfirmed=confirm("Are you sure you want to restore from this state?\nThis will reset "+restored+".\n(A backup of the current state will be made.)");
"disabled_extensions":OptionInfo([],"Disable these extensions"),
"disable_all_extensions":OptionInfo("none","Disable all extensions (preserves the list of disabled extensions)",gr.Radio,{"choices":["none","extra","all"]}),
"restore_config_state_file":OptionInfo("","Config state file to restore from, under 'config-states/' folder"),
"sd_checkpoint_hash":OptionInfo("","SHA256 hash of the current checkpoint"),
config_restore_type=gr.Radio(label="State to restore",choices=["extensions","webui","both"],value="extensions",elem_id="extension_backup_restore_type")