feat: count image from 1, making config keys more user friendly

This commit is contained in:
Manuel Schmid
2024-07-27 23:04:54 +02:00
parent 4a5f691b9e
commit 8cc246a51d
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -517,6 +517,7 @@ default_ip_weights = {}
default_ip_types = {}
for image_count in range(default_controlnet_image_count):
image_count += 1
default_ip_images[image_count] = get_config_item_or_set_default(
key=f'default_ip_image_{image_count}',
default_value=None,