change reshape
Browse files
frontend/webui/image_to_image_ui.py
CHANGED
@@ -43,17 +43,17 @@ def generate_image_to_image(
|
|
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
|
46 |
-
if app_settings.settings.lcm_diffusion_setting.use_openvino:
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
|
58 |
|
59 |
with ThreadPoolExecutor(max_workers=1) as executor:
|
|
|
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
|
46 |
+
# if app_settings.settings.lcm_diffusion_setting.use_openvino:
|
47 |
+
# reshape = is_reshape_required(
|
48 |
+
# previous_width,
|
49 |
+
# image_width,
|
50 |
+
# previous_height,
|
51 |
+
# image_height,
|
52 |
+
# previous_model_id,
|
53 |
+
# model_id,
|
54 |
+
# previous_num_of_images,
|
55 |
+
# num_images,
|
56 |
+
# )
|
57 |
|
58 |
|
59 |
with ThreadPoolExecutor(max_workers=1) as executor:
|