mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
810
This commit is contained in:
+2
-1
@@ -267,7 +267,8 @@ with open(config_example_path, "w", encoding="utf-8") as json_file:
|
||||
json_file.write(f'You can modify your "{cpa}" using the below keys, formats, and examples.\n'
|
||||
f'Do not modify this file. Modifications in this file will not take effect.\n'
|
||||
f'This file is a tutorial and example. Please edit "{cpa}" to really change any settings.\n'
|
||||
f'Remember to split the paths with "\\\\" rather than "\\".\n\n\n')
|
||||
+ 'Remember to split the paths with "\\\\" rather than "\\", '
|
||||
'and there is no "," before the last "}". \n\n\n')
|
||||
json.dump({k: config_dict[k] for k in visited_keys}, json_file, indent=4)
|
||||
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ def try_load_sorted_styles(style_names, default_selected):
|
||||
unselected = [y for y in all_styles if y not in default_selected]
|
||||
all_styles = default_selected + unselected
|
||||
|
||||
return all_styles
|
||||
return
|
||||
|
||||
|
||||
def sort_styles(selected):
|
||||
|
||||
Reference in New Issue
Block a user