mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
refactor: rename image_file_extension to output_format
This commit is contained in:
+3
-3
@@ -248,10 +248,10 @@ default_max_image_number = get_config_item_or_set_default(
|
||||
default_value=32,
|
||||
validator=lambda x: isinstance(x, int) and x >= 1
|
||||
)
|
||||
default_image_file_extension = get_config_item_or_set_default(
|
||||
key='default_image_file_extension',
|
||||
default_output_format = get_config_item_or_set_default(
|
||||
key='default_output_format',
|
||||
default_value='png',
|
||||
validator=lambda x: x in modules.flags.image_file_extensions
|
||||
validator=lambda x: x in modules.flags.output_formats
|
||||
)
|
||||
default_image_number = get_config_item_or_set_default(
|
||||
key='default_image_number',
|
||||
|
||||
Reference in New Issue
Block a user