fffiloni commited on
Commit
151fcc6
1 Parent(s): 15b67ac

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, 768)
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),