EdwinLH commited on
Commit
d4456ba
·
verified ·
1 Parent(s): 86b7628

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -63,6 +63,10 @@ def predict(img):
63
 
64
  return result_text
65
 
 
 
 
 
66
  # Gradio Interface with Input and Output in a Row Layout
67
  with gr.Blocks() as interface:
68
  gr.Markdown("# VGG16 Fine-tuned Defect Classification")
 
63
 
64
  return result_text
65
 
66
+ # Function to clear input and output
67
+ def clear():
68
+ return None, ""
69
+
70
  # Gradio Interface with Input and Output in a Row Layout
71
  with gr.Blocks() as interface:
72
  gr.Markdown("# VGG16 Fine-tuned Defect Classification")