Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -54,9 +54,9 @@ with gr.Blocks(theme=gr.themes.Soft()) as demo:
|
|
54 |
|
55 |
# Clear button logic
|
56 |
def clear_all():
|
57 |
-
return None, "", ""
|
58 |
|
59 |
-
clear_btn.click(clear_all, outputs=[image_input, prediction_output, confidence_output,feedback_output])
|
60 |
|
61 |
# Launch the Gradio interface
|
62 |
if __name__ == "__main__":
|
|
|
54 |
|
55 |
# Clear button logic
|
56 |
def clear_all():
|
57 |
+
return None, "", "", "" # Clear all outputs
|
58 |
|
59 |
+
clear_btn.click(clear_all, outputs=[image_input, prediction_output, confidence_output, feedback_output])
|
60 |
|
61 |
# Launch the Gradio interface
|
62 |
if __name__ == "__main__":
|