mirror of
https://github.com/gradio-app/gradio.git
synced 2024-12-09 02:00:44 +08:00
spacing (#1254)
This commit is contained in:
parent
5df69c15bc
commit
523c3692c4
@ -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
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user