DigiP-AI commited on
Commit
16dc1f8
·
verified ·
1 Parent(s): c30ef0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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