Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
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 |
-
|
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
|