Spaces:
Running
Running
Commit
·
12fc175
1
Parent(s):
d415b47
Upload app.py
Browse files
app.py
CHANGED
@@ -107,7 +107,7 @@ def build_demo_classes_and_metadata(vocab, label_list):
|
|
107 |
|
108 |
if vocab:
|
109 |
for words in vocab.split(";"):
|
110 |
-
extra_classes
|
111 |
extra_colors = [random_color(rgb=True, maximum=1) for _ in range(len(extra_classes))]
|
112 |
print("extra_classes:", extra_classes)
|
113 |
demo_thing_classes = extra_classes
|
|
|
107 |
|
108 |
if vocab:
|
109 |
for words in vocab.split(";"):
|
110 |
+
extra_classes.append(words)
|
111 |
extra_colors = [random_color(rgb=True, maximum=1) for _ in range(len(extra_classes))]
|
112 |
print("extra_classes:", extra_classes)
|
113 |
demo_thing_classes = extra_classes
|