Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -39,7 +39,9 @@ model.eval()
|
|
| 39 |
# ✅ Updated class names (match folder structure)
|
| 40 |
class_names = [
|
| 41 |
"Chinee apple", "Lantana", "Negative", "Parkinsonia", "Parthenium",
|
| 42 |
-
"Prickly acacia", "Rubber vine", "Siam weed", "Snake weed",
|
|
|
|
|
|
|
| 43 |
]
|
| 44 |
|
| 45 |
# 🔁 Image transform
|
|
|
|
| 39 |
# ✅ Updated class names (match folder structure)
|
| 40 |
class_names = [
|
| 41 |
"Chinee apple", "Lantana", "Negative", "Parkinsonia", "Parthenium",
|
| 42 |
+
"Prickly acacia", "Rubber vine", "Siam weed", "Snake weed", 'Black grass', 'Charlock', 'Cleavers', 'Common Chickweed', 'Common Wheat',
|
| 43 |
+
'Fat Hen', 'Loose Silky-bent', 'Maize', 'Scentless Mayweed',
|
| 44 |
+
'Shepherds purse', 'Small-flowered Cranesbill', 'Sugar beet','Carpetweeds','Crabgrass','Eclipta','Goosegrass','Morningglory','Nutsedge','PalmerAmaranth','Pricky Sida','Purslane','Ragweed','Sicklepod','SpottedSpurge','SpurredAnoda','Swinecress','Waterhemp'
|
| 45 |
]
|
| 46 |
|
| 47 |
# 🔁 Image transform
|