JohanBeytell commited on
Commit
a8e35e5
·
verified ·
1 Parent(s): 9cce94e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +22 -22
app.py CHANGED
@@ -74,28 +74,28 @@ def predict_mushroom(*inputs):
74
 
75
  # Example 1: Death cap mushroom (poisonous)
76
  death_cap_example = [
77
- "convex", # cap-shape ('x')
78
- "smooth", # cap-surface ('s')
79
- "green", # cap-color ('r') – assuming 'green' is in our options for cap-color
80
- "bruises", # bruises ('t')
81
- "none", # odor ('n')
82
- "free", # gill-attachment ('f')
83
- "distant", # gill-spacing ('d')
84
- "narrow", # gill-size ('n')
85
- "white", # gill-color ('w')
86
- "tapering", # stalk-shape ('t')
87
- "cup", # stalk-root ('u')
88
- "smooth", # stalk-surface-above-ring ('s')
89
- "smooth", # stalk-surface-below-ring ('s')
90
- "white", # stalk-color-above-ring ('w')
91
- "white", # stalk-color-below-ring ('w')
92
- "universal", # veil-type ('u')
93
- "white", # veil-color ('w')
94
- "one", # ring-number ('o')
95
- "evanescent", # ring-type ('e')
96
- "white", # spore-print-color ('w')
97
- "scattered", # population ('s')
98
- "woods" # habitat ('d')
99
  ]
100
 
101
  # Example 2: Normal brown edible mushroom
 
74
 
75
  # Example 1: Death cap mushroom (poisonous)
76
  death_cap_example = [
77
+ "convex", # cap-shape: letter 'x'
78
+ "smooth", # cap-surface: letter 's'
79
+ "green", # cap-color: letter 'r'
80
+ "no", # bruises: letter 'f'
81
+ "almond", # odor: letter 'a' (Amanita phalloides is noted for a slight almond odor)
82
+ "free", # gill-attachment: letter 'f'
83
+ "close", # gill-spacing: letter 'c'
84
+ "broad", # gill-size: letter 'b'
85
+ "white", # gill-color: letter 'w'
86
+ "tapering", # stalk-shape: letter 't'
87
+ "bulbous", # stalk-root: letter 'b'
88
+ "smooth", # stalk-surface-above-ring: letter 's'
89
+ "smooth", # stalk-surface-below-ring: letter 's'
90
+ "white", # stalk-color-above-ring: letter 'w'
91
+ "white", # stalk-color-below-ring: letter 'w'
92
+ "universal", # veil-type: letter 'u'
93
+ "white", # veil-color: letter 'w'
94
+ "one", # ring-number: letter 'o'
95
+ "evanescent", # ring-type: letter 'e'
96
+ "white", # spore-print-color: letter 'w'
97
+ "scattered", # population: letter 's'
98
+ "woods" # habitat: letter 'd'
99
  ]
100
 
101
  # Example 2: Normal brown edible mushroom