svnmurali1 commited on
Commit
9bee20d
·
verified ·
1 Parent(s): 0acebf6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -21,6 +21,7 @@ def classify_image(img):
21
 
22
  # Make predictions using the model
23
  label, conf = model.predict(img_path)
 
24
 
25
  return f"Label: {label}, Confidence: {conf*100:.2f}%"
26
 
 
21
 
22
  # Make predictions using the model
23
  label, conf = model.predict(img_path)
24
+ os.unlink(img_path)
25
 
26
  return f"Label: {label}, Confidence: {conf*100:.2f}%"
27