Spaces:
Running
on
A10G
Running
on
A10G
Commit
•
87964c6
1
Parent(s):
b5b396d
Update share_btn.py
Browse files- share_btn.py +1 -1
share_btn.py
CHANGED
@@ -74,7 +74,7 @@ share_js = r"""async () => {
|
|
74 |
const conceptTableRows = [];
|
75 |
concepts.forEach((concept, index) => {
|
76 |
if (concept.value) {
|
77 |
-
const label = concept.parent.textContent.includes('
|
78 |
conceptHeaders.push(`<th>${label}</th>`);
|
79 |
conceptDescriptions.push(`${label}: ${concept.value}`);
|
80 |
conceptTableRows.push(`<td>${concept.value}</td>`);
|
|
|
74 |
const conceptTableRows = [];
|
75 |
concepts.forEach((concept, index) => {
|
76 |
if (concept.value) {
|
77 |
+
const label = concept.parent.textContent.includes('Negative') ? `remove concept` : `add concept`;
|
78 |
conceptHeaders.push(`<th>${label}</th>`);
|
79 |
conceptDescriptions.push(`${label}: ${concept.value}`);
|
80 |
conceptTableRows.push(`<td>${concept.value}</td>`);
|