Spaces:
Runtime error
Runtime error
Héctor Tarrido-Picart
commited on
Commit
·
a13bf72
1
Parent(s):
ea6cd3f
Update app.py
Browse filesrecategorize according to new model
app.py
CHANGED
@@ -4,7 +4,7 @@ import skimage
|
|
4 |
|
5 |
learn = load_learner('model.pkl')
|
6 |
|
7 |
-
categories = ['
|
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)
|