Spaces:
Runtime error
Runtime error
Matthijs Hollemans
commited on
Commit
•
7a8487d
1
Parent(s):
6d32894
no comma between labels
Browse files
app.py
CHANGED
@@ -54,7 +54,7 @@ for i in range(len(labels)):
|
|
54 |
color = "white" if i in inverted else "black"
|
55 |
text = "<span style='background-color: rgb(%d, %d, %d); color: %s; padding: 2px 4px;'>%s</span>" % (r, g, b, color, label)
|
56 |
labels_colored.append(text)
|
57 |
-
labels_text = "
|
58 |
|
59 |
title = "Semantic Segmentation with MobileViT and DeepLabV3"
|
60 |
|
|
|
54 |
color = "white" if i in inverted else "black"
|
55 |
text = "<span style='background-color: rgb(%d, %d, %d); color: %s; padding: 2px 4px;'>%s</span>" % (r, g, b, color, label)
|
56 |
labels_colored.append(text)
|
57 |
+
labels_text = " ".join(labels_colored)
|
58 |
|
59 |
title = "Semantic Segmentation with MobileViT and DeepLabV3"
|
60 |
|