gradio.dispatch("clear_status", loading_status)} /> {#if interactive && no_value} gradio.client.upload(...args)} stream_handler={(...args) => gradio.client.stream(...args)} on:upload={(e) => { const files = Array.isArray(e.detail) ? e.detail : [e.detail]; value = files.map((x) => x.mime_type?.includes("video") ? { video: x, caption: null } : { image: x, caption: null } ); gradio.dispatch("upload", value); }} on:error={({ detail }) => { loading_status = loading_status || {}; loading_status.status = "error"; gradio.dispatch("error", detail); }} > {:else} gradio.dispatch("change", value)} on:select={(e) => gradio.dispatch("select", e.detail)} on:share={(e) => gradio.dispatch("share", e.detail)} on:error={(e) => gradio.dispatch("error", e.detail)} {label} {show_label} {columns} {rows} {height} {preview} {object_fit} {interactive} {allow_preview} bind:selected_index bind:value {show_share_button} {show_download_button} i18n={gradio.i18n} _fetch={(...args) => gradio.client.fetch(...args)} {show_fullscreen_button} /> {/if}