chandrujobs commited on
Commit
c1d31c9
·
verified ·
1 Parent(s): 4913ae2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -120,7 +120,7 @@ with gr.Blocks() as interface:
120
  submit_btn.click(gradio_interface, inputs=[image_input], outputs=[
121
  palette_output, palette_image_output, css_code_output])
122
 
123
- # Clear button now resets the image input and clears all outputs
124
  clear_btn.click(lambda: [None, None, None, None], inputs=[], outputs=[
125
  image_input, palette_output, palette_image_output, css_code_output])
126
 
 
120
  submit_btn.click(gradio_interface, inputs=[image_input], outputs=[
121
  palette_output, palette_image_output, css_code_output])
122
 
123
+ # The Clear button now resets the image input and clears all outputs
124
  clear_btn.click(lambda: [None, None, None, None], inputs=[], outputs=[
125
  image_input, palette_output, palette_image_output, css_code_output])
126