Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
Vladimir Mandic
2025-08-01 18:26:57 -04:00
parent c8da76d11f
commit f7e433bd07
5 changed files with 20 additions and 20 deletions
+3 -3
View File
@@ -276,10 +276,10 @@ def create_ui():
shutdown_submit.click(fn=lambda: shared.restart_server(restart=False), _js="restartReload")
def reset_quicksettings(components):
components = components.split(',')
def reset_quicksettings(quick_components):
quick_components = quick_components.split(',')
updates = []
for key in components:
for key in quick_components:
shared.log.warning(f'Reset: setting={key}')
updates.append(gr.update(value=shared.opts.get_default(key)))
return updates