Linoy Tsaban commited on
Commit
b9a2245
1 Parent(s): 9cd2450

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -246,6 +246,7 @@ with gr.Blocks() as demo:
246
  with gr.Row():
247
  with gr.Column(scale=1, min_width=100):
248
  invert_button = gr.Button("Invert")
 
249
  edit_button = gr.Button("Edit")
250
 
251
  with gr.Accordion("Advanced Options", open=False):
@@ -277,7 +278,7 @@ with gr.Blocks() as demo:
277
  # gr.Markdown(help_text)
278
 
279
  invert_button.click(
280
- fn=invert,
281
  inputs=[input_image,
282
  src_prompt,
283
  tar_prompt,
 
246
  with gr.Row():
247
  with gr.Column(scale=1, min_width=100):
248
  invert_button = gr.Button("Invert")
249
+ with gr.Column(scale=1, min_width=100):
250
  edit_button = gr.Button("Edit")
251
 
252
  with gr.Accordion("Advanced Options", open=False):
 
278
  # gr.Markdown(help_text)
279
 
280
  invert_button.click(
281
+ fn=invert_and_reconstruct,
282
  inputs=[input_image,
283
  src_prompt,
284
  tar_prompt,