mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
add preset refresh on "Refresh All Files" click
This commit is contained in:
@@ -90,6 +90,9 @@ def list_presets():
|
||||
|
||||
available_presets = list_presets()
|
||||
|
||||
def update_presets():
|
||||
global available_presets
|
||||
available_presets = list_presets()
|
||||
|
||||
def try_get_preset_content(preset):
|
||||
if isinstance(preset, str):
|
||||
|
||||
Reference in New Issue
Block a user