DigiP-AI commited on
Commit
79ddfdc
·
verified ·
1 Parent(s): 3beaed7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -177,7 +177,7 @@ with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
177
  text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
178
  with gr.Row():
179
  clr_button =gr.Button("Clear",variant="primary", elem_id="clear_button")
180
- clr_button.click(lambda: None)
181
 
182
  with gr.Row():
183
  image_output = gr.Image(type="pil", label="Image Output", format="png", elem_id="gallery")
 
177
  text_button = gr.Button("Run", variant='primary', elem_id="gen-button")
178
  with gr.Row():
179
  clr_button =gr.Button("Clear",variant="primary", elem_id="clear_button")
180
+ clr_button.click(lambda: None, outputs=outputs)
181
 
182
  with gr.Row():
183
  image_output = gr.Image(type="pil", label="Image Output", format="png", elem_id="gallery")