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