Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -16,19 +16,19 @@ def get_docid_html(docid):
|
|
16 |
docid_html = (
|
17 |
f"<a "
|
18 |
f'class="underline-on-hover"'
|
19 |
-
f'title="
|
20 |
f'style="color:#AA4A44;"'
|
21 |
f'href="https://huggingface.co/datasets/bigscience-data/{dataset}"'
|
22 |
-
f'target="_blank"
|
23 |
)
|
24 |
else:
|
25 |
docid_html = (
|
26 |
f"<a "
|
27 |
f'class="underline-on-hover"'
|
28 |
-
f'title="
|
29 |
f'style="color:#2D31FA;"'
|
30 |
f'href="https://huggingface.co/datasets/bigscience-data/{dataset}"'
|
31 |
-
f'target="_blank">{dataset}</a><span style="color: #7978FF;">/{docid}</span>'
|
32 |
)
|
33 |
return docid_html
|
34 |
|
|
|
16 |
docid_html = (
|
17 |
f"<a "
|
18 |
f'class="underline-on-hover"'
|
19 |
+
f'title="This dataset is private. See the introductory text for more information"'
|
20 |
f'style="color:#AA4A44;"'
|
21 |
f'href="https://huggingface.co/datasets/bigscience-data/{dataset}"'
|
22 |
+
f'target="_blank"><b>π{dataset}</b></a><span style="color: #7978FF;">/{docid}</span>'
|
23 |
)
|
24 |
else:
|
25 |
docid_html = (
|
26 |
f"<a "
|
27 |
f'class="underline-on-hover"'
|
28 |
+
f'title="This dataset is licensed {metadata.tags[0].split(":")[-1]}"'
|
29 |
f'style="color:#2D31FA;"'
|
30 |
f'href="https://huggingface.co/datasets/bigscience-data/{dataset}"'
|
31 |
+
f'target="_blank"><b>{dataset}</b></a><span style="color: #7978FF;">/{docid}</span>'
|
32 |
)
|
33 |
return docid_html
|
34 |
|