gradio.dispatch("clear_status", loading_status)} /> {#if interactive && no_value} { const files = Array.isArray(e.detail) ? e.detail : [e.detail]; value = files.map((x) => ({ 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={gradio.client.fetch} /> {/if}