fffiloni commited on
Commit
5e59719
1 Parent(s): ff25d61

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -95,8 +95,8 @@ def inference(input_image, prompt, a_prompt, n_prompt, denoise_steps, upscale, a
95
  rscale = upscale
96
  input_image = input_image.resize((input_image.size[0]*rscale, input_image.size[1]*rscale))
97
 
98
- if min(validation_image.size) < process_size:
99
- validation_image = resize_preproc(validation_image)
100
 
101
  input_image = input_image.resize((input_image.size[0]//8*8, input_image.size[1]//8*8))
102
  width, height = input_image.size
 
95
  rscale = upscale
96
  input_image = input_image.resize((input_image.size[0]*rscale, input_image.size[1]*rscale))
97
 
98
+ #if min(validation_image.size) < process_size:
99
+ # validation_image = resize_preproc(validation_image)
100
 
101
  input_image = input_image.resize((input_image.size[0]//8*8, input_image.size[1]//8*8))
102
  width, height = input_image.size