Spaces:
Running
on
A10G
Running
on
A10G
Linoy Tsaban
commited on
Commit
·
40001af
1
Parent(s):
fda782c
Update app.py
Browse files
app.py
CHANGED
|
@@ -70,7 +70,7 @@ def get_example():
|
|
| 70 |
|
| 71 |
inversion_map = dict()
|
| 72 |
|
| 73 |
-
def
|
| 74 |
src_prompt ="",
|
| 75 |
steps=100,
|
| 76 |
src_cfg_scale = 3.5,
|
|
@@ -175,7 +175,7 @@ with gr.Blocks() as demo:
|
|
| 175 |
# gr.Markdown(help_text)
|
| 176 |
|
| 177 |
invert_button.click(
|
| 178 |
-
fn=
|
| 179 |
inputs=[input_image,
|
| 180 |
src_prompt,
|
| 181 |
steps,
|
|
|
|
| 70 |
|
| 71 |
inversion_map = dict()
|
| 72 |
|
| 73 |
+
def invert_and_reconstruct(input_image,
|
| 74 |
src_prompt ="",
|
| 75 |
steps=100,
|
| 76 |
src_cfg_scale = 3.5,
|
|
|
|
| 175 |
# gr.Markdown(help_text)
|
| 176 |
|
| 177 |
invert_button.click(
|
| 178 |
+
fn=invert_and_reconstruct,
|
| 179 |
inputs=[input_image,
|
| 180 |
src_prompt,
|
| 181 |
steps,
|