Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ def resize_image(image_path, target_height):
|
|
84 |
return resized_img
|
85 |
|
86 |
def inference(input_image, prompt, a_prompt, n_prompt, denoise_steps, upscale, alpha, cfg, seed):
|
87 |
-
input_image = resize_image(input_image,
|
88 |
process_size = 768
|
89 |
resize_preproc = transforms.Compose([
|
90 |
transforms.Resize(process_size, interpolation=transforms.InterpolationMode.BILINEAR),
|
|
|
84 |
return resized_img
|
85 |
|
86 |
def inference(input_image, prompt, a_prompt, n_prompt, denoise_steps, upscale, alpha, cfg, seed):
|
87 |
+
input_image = resize_image(input_image, 512)
|
88 |
process_size = 768
|
89 |
resize_preproc = transforms.Compose([
|
90 |
transforms.Resize(process_size, interpolation=transforms.InterpolationMode.BILINEAR),
|