Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -22,11 +22,11 @@ model_dir = snapshot_download(
|
|
22 |
)
|
23 |
|
24 |
color_map = {
|
25 |
-
'outside_roi' : (255, 255, 255) # white
|
26 |
-
'tumor' : (255, 0, 0) # red
|
27 |
-
'stroma' : (0, 0, 255) # blue
|
28 |
-
'inflammatory' : (0, 255, 0) # green
|
29 |
-
'necrosis' : (255, 255, 0) # yello
|
30 |
'others' : (8, 133, 161) # cyan
|
31 |
}
|
32 |
class_labels = ['outside_roi', 'tumor', 'stroma', 'inflammatory', 'necrosis', 'others']
|
|
|
22 |
)
|
23 |
|
24 |
color_map = {
|
25 |
+
'outside_roi' : (255, 255, 255), # white
|
26 |
+
'tumor' : (255, 0, 0), # red
|
27 |
+
'stroma' : (0, 0, 255), # blue
|
28 |
+
'inflammatory' : (0, 255, 0), # green
|
29 |
+
'necrosis' : (255, 255, 0), # yello
|
30 |
'others' : (8, 133, 161) # cyan
|
31 |
}
|
32 |
class_labels = ['outside_roi', 'tumor', 'stroma', 'inflammatory', 'necrosis', 'others']
|