{label}
{#if gallery} {:else}
{#each headers as header} {/each} {#each component_meta as sample_row, i} { value = i + page * samples_per_page; gradio.dispatch("click", value); }} on:mouseenter={() => handle_mouseenter(i)} on:mouseleave={() => handle_mouseleave()} > {#each sample_row as { value, component }, j} {@const component_name = components[j]} {#if component_name !== undefined && component_map.get(component_name) !== undefined} {/if} {/each} {/each}
{header}
{/if} {#if paginate}
Pages: {#each visible_pages as visible_page} {#if visible_page === -1}
...
{:else} {/if} {/each}
{/if}