Spaces:
Running
Running
Update templates/result.html
Browse files- templates/result.html +3 -4
templates/result.html
CHANGED
@@ -278,10 +278,9 @@
|
|
278 |
{% for prop in aibom.metadata.properties %}
|
279 |
{% if prop.name == 'tags' and prop.value %}
|
280 |
<div><strong>Tags:</strong>
|
281 |
-
|
282 |
-
{%
|
283 |
-
|
284 |
-
{% endfor %}
|
285 |
</div>
|
286 |
{% elif prop.name not in ['aibom:quality-score', 'aibom:quality-breakdown', 'aibom:max-scores'] %}
|
287 |
<div><strong>{{ prop.name }}:</strong> {{ prop.value }}</div>
|
|
|
278 |
{% for prop in aibom.metadata.properties %}
|
279 |
{% if prop.name == 'tags' and prop.value %}
|
280 |
<div><strong>Tags:</strong>
|
281 |
+
<!-- Display tags without using split filter -->
|
282 |
+
{% set tag_value = prop.value|replace('[', '')|replace(']', '')|replace('"', '') %}
|
283 |
+
<span class="tag">{{ tag_value }}</span>
|
|
|
284 |
</div>
|
285 |
{% elif prop.name not in ['aibom:quality-score', 'aibom:quality-breakdown', 'aibom:max-scores'] %}
|
286 |
<div><strong>{{ prop.name }}:</strong> {{ prop.value }}</div>
|