Spaces:
Running
Running
Update app.py
Browse files
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")
|