smartdigitalnetworks commited on
Commit
df12fa0
·
verified ·
1 Parent(s): 3786ea8

Update appAnything.py

Browse files
Files changed (1) hide show
  1. appAnything.py +1 -1
appAnything.py CHANGED
@@ -43,7 +43,7 @@ def infer(source_img, prompt, guide, steps, seed, strength):
43
  generator = torch.Generator("cpu").manual_seed(seed)
44
 
45
  source_image = Image.open(source_img).convert("RGB")
46
- source_image = source_image.resize((512, 512), Image.Resampling.LANCZOS)
47
 
48
  result = img_pipe(
49
  [prompt],
 
43
  generator = torch.Generator("cpu").manual_seed(seed)
44
 
45
  source_image = Image.open(source_img).convert("RGB")
46
+ source_image = source_image.resize((1024, 1024), Image.Resampling.LANCZOS)
47
 
48
  result = img_pipe(
49
  [prompt],