benjaminStreltzin commited on
Commit
7d65efc
·
verified ·
1 Parent(s): 3023b74

Update app.py

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