Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
·
2ff138d
1
Parent(s):
2967701
Update app.py
Browse files
app.py
CHANGED
|
@@ -122,6 +122,7 @@ with gr.Blocks(css='style.css') as demo:
|
|
| 122 |
# invert and retrieve noise maps and latent
|
| 123 |
wt, zs, wts = invert(x0 =x0 , prompt_src=src_prompt, num_diffusion_steps=steps, cfg_scale_src=cfg_scale_src)
|
| 124 |
output = sample(wt, zs, wts, prompt_tar=src_prompt, cfg_scale_tar=cfg_scale_tar, skip=skip)
|
|
|
|
| 125 |
|
| 126 |
|
| 127 |
output = sample(wt, zs, wts, prompt_tar=tar_prompt, cfg_scale_tar=cfg_scale_tar, skip=skip)
|
|
|
|
| 122 |
# invert and retrieve noise maps and latent
|
| 123 |
wt, zs, wts = invert(x0 =x0 , prompt_src=src_prompt, num_diffusion_steps=steps, cfg_scale_src=cfg_scale_src)
|
| 124 |
output = sample(wt, zs, wts, prompt_tar=src_prompt, cfg_scale_tar=cfg_scale_tar, skip=skip)
|
| 125 |
+
return output
|
| 126 |
|
| 127 |
|
| 128 |
output = sample(wt, zs, wts, prompt_tar=tar_prompt, cfg_scale_tar=cfg_scale_tar, skip=skip)
|