change height
Browse files
frontend/webui/image_to_image_ui.py
CHANGED
@@ -39,7 +39,7 @@ def generate_image_to_image(
|
|
39 |
)
|
40 |
model_id = app_settings.settings.lcm_diffusion_setting.openvino_lcm_model_id
|
41 |
reshape = False
|
42 |
-
|
43 |
image_width = app_settings.settings.lcm_diffusion_setting.image_width
|
44 |
image_height = app_settings.settings.lcm_diffusion_setting.image_height
|
45 |
num_images = app_settings.settings.lcm_diffusion_setting.number_of_images
|
|
|
39 |
)
|
40 |
model_id = app_settings.settings.lcm_diffusion_setting.openvino_lcm_model_id
|
41 |
reshape = False
|
42 |
+
app_settings.settings.lcm_diffusion_setting.image_height=newH
|
43 |
image_width = app_settings.settings.lcm_diffusion_setting.image_width
|
44 |
image_height = app_settings.settings.lcm_diffusion_setting.image_height
|
45 |
num_images = app_settings.settings.lcm_diffusion_setting.number_of_images
|