zklee98 commited on
Commit
f30a193
·
verified ·
1 Parent(s): f517fa1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -118,7 +118,7 @@ def predict(classification_mode, image):
118
  percentage_affected = round((pixels_count[1]/960)*100, 1)
119
  percentage_affected = str(percentage_affected) + '%'
120
 
121
- seg_img = PIL.Image.fromarray(seg_img)
122
 
123
  return ({labels[i]: float(probs[i]) for i in range(len(labels))}, seg_img, percentage_affected)
124
 
 
118
  percentage_affected = round((pixels_count[1]/960)*100, 1)
119
  percentage_affected = str(percentage_affected) + '%'
120
 
121
+ #seg_img = PIL.Image.fromarray(seg_img)
122
 
123
  return ({labels[i]: float(probs[i]) for i in range(len(labels))}, seg_img, percentage_affected)
124