Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
·
fbcd65a
1
Parent(s):
c3bb010
Update app.py
Browse files
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,
|
| 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
|