Héctor Tarrido-Picart commited on
Commit
41fb5dd
·
1 Parent(s): 109fae0

Update app.py

Browse files

update categories to align with model

Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -4,8 +4,7 @@ import skimage
4
 
5
  learn = load_learner('model.pkl')
6
 
7
- categories = ['power line down after storm',
8
- 'tree down on power line']
9
 
10
  def predict(img):
11
  img = PILImage.create(img)
 
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)