Biswa000 commited on
Commit
28c12c2
·
verified ·
1 Parent(s): 8d4947c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -18,7 +18,7 @@ def predict_potato_disease(img):
18
 
19
  # Convert to percentage & round
20
  confidence_scores = {
21
- class_names[i]: float(f"{predictions[i] * 100:.2f}")
22
  for i in range(len(class_names))
23
  }
24
 
 
18
 
19
  # Convert to percentage & round
20
  confidence_scores = {
21
+ class_names[i]: float(f"{predictions[i] * 1:.2f}")
22
  for i in range(len(class_names))
23
  }
24