Linoy Tsaban commited on
Commit
a5fdee9
·
1 Parent(s): c0aaf41

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -55,7 +55,7 @@ def edit(input_image, input_image_prompt='', target_prompt='', edit_prompt='',
55
  edit_guidance_scale=8, guidance_scale=15, skip=36, num_diffusion_steps=100,
56
  ):
57
  offsets=(0,0,0,0)
58
- input_image = pil_to_tensor(input_image).type(torch.float16))
59
  x0 = load_512(input_image, *offsets, device)
60
 
61
 
 
55
  edit_guidance_scale=8, guidance_scale=15, skip=36, num_diffusion_steps=100,
56
  ):
57
  offsets=(0,0,0,0)
58
+ input_image = pil_to_tensor(input_image).type(torch.float16)
59
  x0 = load_512(input_image, *offsets, device)
60
 
61