Linoy Tsaban commited on
Commit
fbcd65a
1 Parent(s): c3bb010

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ def edit(input_image,
85
  ):
86
  torch.manual_seed(seed)
87
  # offsets=(0,0,0,0)
88
- x0 = load_512(input_image, left,right, top, bottom, device)
89
 
90
  if not wt:
91
  # invert and retrieve noise maps and latent
 
85
  ):
86
  torch.manual_seed(seed)
87
  # offsets=(0,0,0,0)
88
+ x0 = load_512(input_image, device=device)
89
 
90
  if not wt:
91
  # invert and retrieve noise maps and latent