Sara Tolosa commited on
Commit
db36da3
·
1 Parent(s): 6f2137e
Files changed (1) hide show
  1. app.py +0 -5
app.py CHANGED
@@ -16,12 +16,7 @@ learner = load_learner('model.pkl')
16
  categories = ('Dog', 'Cat')
17
 
18
  def classify_image(img):
19
- <<<<<<< HEAD
20
- # We are saying that this predictions returns:
21
- # the prediction, its index and the prediction probability
22
- =======
23
  # We are saying that this predictions returns: the prediction, its index and the prediction probability
24
- >>>>>>> e28b7be49fa8fa87e6f9d2476e42d56e2f06d584
25
  pred,idx,probs = learn.predict(img)
26
 
27
  # Here we return a dictionary with categories as keys and its probabilities as values
 
16
  categories = ('Dog', 'Cat')
17
 
18
  def classify_image(img):
 
 
 
 
19
  # We are saying that this predictions returns: the prediction, its index and the prediction probability
 
20
  pred,idx,probs = learn.predict(img)
21
 
22
  # Here we return a dictionary with categories as keys and its probabilities as values