chenchangliu commited on
Commit
0791474
·
verified ·
1 Parent(s): 8d30696

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -87,15 +87,15 @@ def predict(image: Image.Image):
87
  EXAMPLE_TEXT = """
88
  **Taxa (12):** Cacoxnus indagator, Chelostoma florisomne, Coeliopencyrtus, Eumenidae, Heriades, Hylaeus, Megachile, Osmia bicornis, Osmia cornuta, Passaloecus, Psenulus, Trypoxylon
89
 
90
- **States (your model labels):** DauLv, DeadLv, Lv, OldFood
91
  """
92
 
93
  STATUS_TABLE = [
94
- ["Dead", "D", "DeadLv", "Dead visible larva"],
95
- ["Food", "F", "OldFood", "Brood cell with only unconsumed food, no larva will develop"],
96
- ["Hatched", "H", "Hatched", "Brood cell with hatched bee or wasp traces (cocoon or exuvia)"],
97
- ["Larva", "L", "Lv", "Visible alive larva"],
98
- ["Prepupa", "P", "Prepupa", "Visible alive prepupa that stopped feeding"],
99
  ]
100
 
101
 
 
87
  EXAMPLE_TEXT = """
88
  **Taxa (12):** Cacoxnus indagator, Chelostoma florisomne, Coeliopencyrtus, Eumenidae, Heriades, Hylaeus, Megachile, Osmia bicornis, Osmia cornuta, Passaloecus, Psenulus, Trypoxylon
89
 
90
+ **States (4):** DauLv, DeadLv, Lv, OldFood
91
  """
92
 
93
  STATUS_TABLE = [
94
+ ["DauLv", "Prepupa", "Visible alive prepupa that stopped feeding"],
95
+ ["DeadLv", "Dead visible larva"],
96
+ ["Lv", "Visible alive larva"],
97
+ ["OldFood", "Brood cell with only unconsumed food, no larva will develop"],
98
+ #["Hatched", "H", "Hatched", "Brood cell with hatched bee or wasp traces (cocoon or exuvia)"],
99
  ]
100
 
101