gradio.dispatch("clear_status", loading_status)}
/>
{#if !interactive}
gradio.dispatch("select", detail)}
selectable={_selectable}
{value}
{label}
{show_label}
{height}
i18n={gradio.i18n}
/>
{:else}
gradio.client.upload(...args)}
stream_handler={(...args) => gradio.client.stream(...args)}
{label}
{show_label}
{value}
{file_count}
{file_types}
selectable={_selectable}
{root}
{height}
bind:uploading
max_file_size={gradio.max_file_size}
on:change={({ detail }) => {
value = detail;
}}
on:drag={({ detail }) => (dragging = detail)}
on:clear={() => gradio.dispatch("clear")}
on:select={({ detail }) => gradio.dispatch("select", detail)}
on:upload={() => gradio.dispatch("upload")}
on:error={({ detail }) => {
loading_status = loading_status || {};
loading_status.status = "error";
gradio.dispatch("error", detail);
}}
on:delete={({ detail }) => {
gradio.dispatch("delete", detail);
}}
i18n={gradio.i18n}
>
{/if}