Spaces:
Running
Running
upscaler off
Browse files
frontend/webui/text_to_image_ui.py
CHANGED
@@ -87,14 +87,14 @@ def generate_text_to_image(
|
|
87 |
previous_model_id = model_id
|
88 |
previous_num_of_images = 1
|
89 |
out_images = []
|
90 |
-
for image in images:
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
return
|
98 |
|
99 |
|
100 |
def get_text_to_image_ui(app_settings: AppSettings) -> None:
|
|
|
87 |
previous_model_id = model_id
|
88 |
previous_num_of_images = 1
|
89 |
out_images = []
|
90 |
+
# for image in images:
|
91 |
+
# out_images.append(image.resize((768, 768), resample=Image.LANCZOS))
|
92 |
+
# # in_image = ImageLoader.load_image(image)
|
93 |
+
# # up_image = upscaler(in_image)
|
94 |
+
# # out_images.append(tensor2img(up_image))
|
95 |
+
# # out_images(image)
|
96 |
+
|
97 |
+
return images
|
98 |
|
99 |
|
100 |
def get_text_to_image_ui(app_settings: AppSettings) -> None:
|