Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
•
e19684c
1
Parent(s):
dd848f1
Update app.py
Browse files
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 |
-
x0 =
|
59 |
|
60 |
|
61 |
# invert
|
|
|
55 |
edit_guidance_scale=8, guidance_scale=15, skip=36, num_diffusion_steps=100,
|
56 |
):
|
57 |
offsets=(0,0,0,0)
|
58 |
+
x0 = load_512(input_image, *offsets, device).type(torch.float16)
|
59 |
|
60 |
|
61 |
# invert
|