Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,6 +13,8 @@ def roofpredict(img):
|
|
13 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
14 |
|
15 |
title = "Roof Condition Classifier"
|
|
|
|
|
16 |
examples = ['damaged roof 2.jpg',
|
17 |
'Johnathan Hutchinson (D1) (1MB).jpg',
|
18 |
'FC-peeling-shingles.jpg',
|
|
|
13 |
return {labels[i]: float(probs[i]) for i in range(len(labels))}
|
14 |
|
15 |
title = "Roof Condition Classifier"
|
16 |
+
description = "A classifier to detect roof damage. Upload a photo of a roof."
|
17 |
+
|
18 |
examples = ['damaged roof 2.jpg',
|
19 |
'Johnathan Hutchinson (D1) (1MB).jpg',
|
20 |
'FC-peeling-shingles.jpg',
|