mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
ini preset
This commit is contained in:
+1
-1
@@ -19,7 +19,7 @@ except Exception as e:
|
||||
|
||||
preset = args_manager.args.preset
|
||||
|
||||
if preset is not None:
|
||||
if isinstance(preset, str):
|
||||
preset = os.path.abspath(f'./presets/{preset}.json')
|
||||
try:
|
||||
if os.path.exists(preset):
|
||||
|
||||
Reference in New Issue
Block a user