Dhahlan2000 commited on
Commit
5ba3133
·
verified ·
1 Parent(s): 8317644

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -30
app.py CHANGED
@@ -13,36 +13,6 @@ model = model.to(device)
13
 
14
  # Class labels (modify according to your model)
15
  class_labels = [
16
- "unripe_oranges",
17
- "Potato_intermediate_fresh",
18
- "Cucumber_rotten",
19
- "Potato_fresh",
20
- "unripe_banana",
21
- "rotten_apple",
22
- "Carrot_fresh",
23
- "Bellpepper_intermediate_fresh",
24
- "rotten_mango",
25
- "ripe_apple",
26
- "Cucumber_fresh",
27
- "unripe_strawberry",
28
- "Tomato_intermediate_fresh",
29
- "Cucumber_intermediate_fresh",
30
- "Tomato_rotten",
31
- "rotten_strawberry",
32
- "ripe_oranges",
33
- "ripe_mango",
34
- "Carrot_rotten",
35
- "Tomato_fresh",
36
- "unripe_mango",
37
- "Carrot_intermediate_fresh",
38
- "Potato_rotten",
39
- "ripe_banana",
40
- "rotten_oranges",
41
- "Bellpepper_fresh",
42
- "rotten_banana",
43
- "ripe_strawberry",
44
- "unripe_apple",
45
- "Bellpepper_rotten"
46
  ]
47
 
48
  def predict_freshness(image):
 
13
 
14
  # Class labels (modify according to your model)
15
  class_labels = [
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  ]
17
 
18
  def predict_freshness(image):