Spaces:
Running
Running
svnmurali1
commited on
Update app.py
Browse files
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 |
|