Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
·
6fc35e6
1
Parent(s):
3bbf4dc
Update app.py
Browse files
app.py
CHANGED
@@ -335,23 +335,23 @@ with gr.Blocks(css='style.css') as demo:
|
|
335 |
outputs=[ddpm_edited_image, wts, zs, do_inversion],
|
336 |
)
|
337 |
|
338 |
-
edit_button.click(
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
|
354 |
-
)
|
355 |
|
356 |
input_image.change(
|
357 |
fn = reset_do_inversion,
|
|
|
335 |
outputs=[ddpm_edited_image, wts, zs, do_inversion],
|
336 |
)
|
337 |
|
338 |
+
# edit_button.click(
|
339 |
+
# fn=edit,
|
340 |
+
# inputs=[input_image,
|
341 |
+
# wts, zs,
|
342 |
+
# tar_prompt,
|
343 |
+
# steps,
|
344 |
+
# skip,
|
345 |
+
# tar_cfg_scale,
|
346 |
+
# edit_concept,
|
347 |
+
# sega_edit_guidance,
|
348 |
+
# warm_up,
|
349 |
+
# # neg_guidance,
|
350 |
+
|
351 |
+
# ],
|
352 |
+
# outputs=[sega_edited_image],
|
353 |
|
354 |
+
# )
|
355 |
|
356 |
input_image.change(
|
357 |
fn = reset_do_inversion,
|