rupeshs commited on
Commit
7a66052
1 Parent(s): d9fcdb7

upscaler off

Browse files
Files changed (1) hide show
  1. frontend/webui/text_to_image_ui.py +8 -8
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
- 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 out_images
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: