Linoy Tsaban
commited on
Commit
·
b2af899
1
Parent(s):
86ca2b5
Update app.py
Browse files
app.py
CHANGED
|
@@ -147,8 +147,8 @@ def edit(input_image,
|
|
| 147 |
x0_dec = sd_pipe.vae.decode(1 / 0.18215 * xt).sample
|
| 148 |
if x0_dec.dim()<4:
|
| 149 |
x0_dec = x0_dec[None,:,:,:]
|
| 150 |
-
|
| 151 |
-
|
| 152 |
|
| 153 |
yield interm_img
|
| 154 |
|
|
|
|
| 147 |
x0_dec = sd_pipe.vae.decode(1 / 0.18215 * xt).sample
|
| 148 |
if x0_dec.dim()<4:
|
| 149 |
x0_dec = x0_dec[None,:,:,:]
|
| 150 |
+
interm_img = image_grid(x0_dec)
|
| 151 |
+
yield interm_img
|
| 152 |
|
| 153 |
yield interm_img
|
| 154 |
|