Héctor Tarrido-Picart commited on
Commit
a13bf72
1 Parent(s): ea6cd3f

Update app.py

Browse files

recategorize according to new model

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -4,7 +4,7 @@ import skimage
4
 
5
  learn = load_learner('model.pkl')
6
 
7
- categories = ['healthy power linee', 'damaged power line']
8
 
9
  def predict(img):
10
  img = PILImage.create(img)
 
4
 
5
  learn = load_learner('model.pkl')
6
 
7
+ categories = ['damaged power lines', 'normal power lines']
8
 
9
  def predict(img):
10
  img = PILImage.create(img)