Spaces:
Runtime error
Runtime error
Héctor Tarrido-Picart
commited on
Commit
·
41fb5dd
1
Parent(s):
109fae0
Update app.py
Browse filesupdate categories to align with model
app.py
CHANGED
@@ -4,8 +4,7 @@ import skimage
|
|
4 |
|
5 |
learn = load_learner('model.pkl')
|
6 |
|
7 |
-
categories = ['power
|
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)
|