Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -186,7 +186,7 @@ with gr.Blocks(theme=theme, css=css, elem_id="app-container") as app:
|
|
186 |
#clear_btn = gr.Button(value="Clear Image",variant="primary", elem_id="clear_button")
|
187 |
#clear_btn.click(clear, inputs=[ ], outputs=[image_output])
|
188 |
clr_button =gr.Button("Clear",variant="primary", elem_id="clear_button")
|
189 |
-
clr_button.click[lambda: gr.Textbox(value=""), None, text_prompt], [lambda: gr.Image(value=""), None, image_output]
|
190 |
|
191 |
|
192 |
|
|
|
186 |
#clear_btn = gr.Button(value="Clear Image",variant="primary", elem_id="clear_button")
|
187 |
#clear_btn.click(clear, inputs=[ ], outputs=[image_output])
|
188 |
clr_button =gr.Button("Clear",variant="primary", elem_id="clear_button")
|
189 |
+
clr_button.click([lambda: gr.Textbox(value=""), None, text_prompt], [lambda: gr.Image(value=""), None, image_output])
|
190 |
|
191 |
|
192 |
|