mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
Compare commits
13
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4e1eaa907f | ||
|
|
8cc246a51d | ||
|
|
4a5f691b9e | ||
|
|
0b1fe42971 | ||
|
|
f5906f27a0 | ||
|
|
30c0d8f282 | ||
|
|
c247f114d7 | ||
|
|
f826bc16f7 | ||
|
|
017587a2fb | ||
|
|
fa548f049d | ||
|
|
8575c149da | ||
|
|
3c0f7bd722 | ||
|
|
591f09d106 |
@@ -517,6 +517,7 @@ default_ip_weights = {}
|
|||||||
default_ip_types = {}
|
default_ip_types = {}
|
||||||
|
|
||||||
for image_count in range(default_controlnet_image_count):
|
for image_count in range(default_controlnet_image_count):
|
||||||
|
image_count += 1
|
||||||
default_ip_images[image_count] = get_config_item_or_set_default(
|
default_ip_images[image_count] = get_config_item_or_set_default(
|
||||||
key=f'default_ip_image_{image_count}',
|
key=f'default_ip_image_{image_count}',
|
||||||
default_value=None,
|
default_value=None,
|
||||||
|
|||||||
@@ -221,6 +221,7 @@ with shared.gradio_root:
|
|||||||
ip_ctrls = []
|
ip_ctrls = []
|
||||||
ip_ad_cols = []
|
ip_ad_cols = []
|
||||||
for image_count in range(modules.config.default_controlnet_image_count):
|
for image_count in range(modules.config.default_controlnet_image_count):
|
||||||
|
image_count += 1
|
||||||
with gr.Column():
|
with gr.Column():
|
||||||
ip_image = grh.Image(label='Image', source='upload', type='numpy', show_label=False, height=300, value=modules.config.default_ip_images[image_count])
|
ip_image = grh.Image(label='Image', source='upload', type='numpy', show_label=False, height=300, value=modules.config.default_ip_images[image_count])
|
||||||
ip_images.append(ip_image)
|
ip_images.append(ip_image)
|
||||||
|
|||||||
Reference in New Issue
Block a user