DigiP-AI commited on
Commit
07479b2
·
verified ·
1 Parent(s): 9b907ca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -319,8 +319,9 @@ with gr.Blocks(theme=theme, css=css) as app:
319
  with gr.Row():
320
  image_button = gr.Button("Run", variant='primary')
321
  image_button.click(flip_image, inputs=image_input, outputs=image_output)
 
322
  clear_results = gr.Button(value="Clear Image", variant="primary", elem_id="clear_button")
323
- clear_results.click(lambda: (None), None, [image_output])
324
  with gr.Tab("Image Filters"):
325
  with gr.Row():
326
  with gr.Column():
 
319
  with gr.Row():
320
  image_button = gr.Button("Run", variant='primary')
321
  image_button.click(flip_image, inputs=image_input, outputs=image_output)
322
+ with gr.Row():
323
  clear_results = gr.Button(value="Clear Image", variant="primary", elem_id="clear_button")
324
+ clear_results.click(lambda: (None, None), None, [image_input, image_output])
325
  with gr.Tab("Image Filters"):
326
  with gr.Row():
327
  with gr.Column():