linoyts HF Staff commited on
Commit
e3d4b88
·
verified ·
1 Parent(s): 360e2a9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,7 +38,7 @@ def infer(input_image, prompt, seed=42, randomize_seed=False, guidance_scale=2.5
38
  # new_width = int(original_width * (new_height / original_height))
39
  # new_width = round(new_width / 64) * 64
40
 
41
- input_image_resized = input_image.resize((new_width, new_height), Image.LANCZOS)
42
  image = pipe(
43
  image=input_image,
44
  prompt=prompt,
 
38
  # new_width = int(original_width * (new_height / original_height))
39
  # new_width = round(new_width / 64) * 64
40
 
41
+ #input_image_resized = input_image.resize((new_width, new_height), Image.LANCZOS)
42
  image = pipe(
43
  image=input_image,
44
  prompt=prompt,