This commit is contained in:
Victor Muštar 2022-05-13 19:19:36 +02:00 committed by GitHub
parent 5df69c15bc
commit 523c3692c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 4 deletions

View File

@ -19,7 +19,7 @@
{#if value.confidences}
{#each value.confidences as confidence_set}
<div
class="flex items-start justify-between font-mono text-sm leading-none group"
class="flex items-start justify-between font-mono text-sm leading-none group mb-2 last:mb-0"
>
<div class="flex-1">
<div

View File

@ -4,9 +4,11 @@
const data = {
label: "hello",
confidences: [
{ label: "hello", confidence: 0.8 },
{ label: "helooo", confidence: 0.4 },
{ label: "helloooo", confidence: 0.6 }
{ label: "Tiger", confidence: 0.9 },
{ label: "Puma", confidence: 0.6 },
{ label: "Leopard", confidence: 0.5 },
{ label: "Lion", confidence: 0.2 },
{ label: "Lynx", confidence: 0.1 }
]
};
</script>