Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
•
bf289f4
1
Parent(s):
2665fc9
Update app.py
Browse files
app.py
CHANGED
@@ -75,7 +75,8 @@ def invert_and_reconstruct(input_image,
|
|
75 |
eta = eta)
|
76 |
return pure_ddpm_out
|
77 |
|
78 |
-
def edit(
|
|
|
79 |
steps,
|
80 |
edit_concept,
|
81 |
sega_edit_guidance,
|
@@ -206,7 +207,9 @@ with gr.Blocks() as demo:
|
|
206 |
|
207 |
edit_button.click(
|
208 |
fn=edit,
|
209 |
-
inputs=[
|
|
|
|
|
210 |
steps,
|
211 |
edit_concept,
|
212 |
sega_edit_guidance,
|
|
|
75 |
eta = eta)
|
76 |
return pure_ddpm_out
|
77 |
|
78 |
+
def edit( input_image,
|
79 |
+
tar_prompt,
|
80 |
steps,
|
81 |
edit_concept,
|
82 |
sega_edit_guidance,
|
|
|
207 |
|
208 |
edit_button.click(
|
209 |
fn=edit,
|
210 |
+
inputs=[
|
211 |
+
input_image,
|
212 |
+
tar_prompt,
|
213 |
steps,
|
214 |
edit_concept,
|
215 |
sega_edit_guidance,
|