Addai commited on
Commit
66ca70e
·
1 Parent(s): 08be317

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -8,7 +8,7 @@ labels = learn.dls.vocab
8
  def predict(img):
9
  img = PILImage.create(img)
10
  pred,pred_idx,probs = learn.predict(img)
11
- prediction = str(pred)
12
 
13
  # Provide explanation based on the prediction
14
  if pred == "cancer_positive":
 
8
  def predict(img):
9
  img = PILImage.create(img)
10
  pred,pred_idx,probs = learn.predict(img)
11
+ prediction = str(pred)
12
 
13
  # Provide explanation based on the prediction
14
  if pred == "cancer_positive":