{#if !interactive} gradio.dispatch("clear_status", loading_status)} /> {#if value && is_browser} {:else} {/if} {:else} gradio.dispatch("clear_status", loading_status)} /> (value = detail)} on:drag={({ detail }) => (dragging = detail)} on:change={({ detail }) => { gradio.dispatch("change", detail); has_change_history = true; }} on:clear={() => { value = null; gradio.dispatch("clear"); }} on:load={({ detail }) => { value = detail; gradio.dispatch("upload"); }} on:error={({ detail }) => { loading_status = loading_status || {}; loading_status.status = "error"; gradio.dispatch("error", detail); }} i18n={gradio.i18n} max_file_size={gradio.max_file_size} upload={(...args) => gradio.client.upload(...args)} stream_handler={(...args) => gradio.client.stream(...args)} > {/if}