Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -120,7 +120,7 @@ def predict(classification_mode, image):
|
|
120 |
|
121 |
seg_img = PIL.Image.fromarray(seg_img)
|
122 |
|
123 |
-
|
124 |
|
125 |
|
126 |
description = """
|
|
|
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 |
|
125 |
|
126 |
description = """
|