Update app.py
Browse files
app.py
CHANGED
@@ -10,7 +10,7 @@ def predict(img):
|
|
10 |
pred,pred_idx,probs = learn.predict(img)
|
11 |
prediction = str(pred)
|
12 |
|
13 |
-
|
14 |
"cancer_negative": "The image does not show signs of cancer.",
|
15 |
"cancer_positive": "The image shows signs of cancer.",
|
16 |
"implant_cancer_positive": "The image shows signs of implant-related cancer.",
|
|
|
10 |
pred,pred_idx,probs = learn.predict(img)
|
11 |
prediction = str(pred)
|
12 |
|
13 |
+
explanations = {
|
14 |
"cancer_negative": "The image does not show signs of cancer.",
|
15 |
"cancer_positive": "The image shows signs of cancer.",
|
16 |
"implant_cancer_positive": "The image shows signs of implant-related cancer.",
|