{#if !interactive}
gradio.dispatch("clear_status", loading_status)}
/>
gradio.dispatch("share", e.detail)}
on:error={(e) => gradio.dispatch("error", e.detail)}
on:play={() => gradio.dispatch("play")}
on:pause={() => gradio.dispatch("pause")}
on:stop={() => gradio.dispatch("stop")}
/>
{:else}
gradio.dispatch("clear_status", loading_status)}
/>
(value = detail)}
on:stream={({ detail }) => {
value = detail;
gradio.dispatch("stream", value);
}}
on:drag={({ detail }) => (dragging = detail)}
{root}
{sources}
{active_source}
{pending}
{streaming}
bind:recording
{loop}
max_file_size={gradio.max_file_size}
{handle_reset_value}
{editable}
bind:dragging
bind:uploading
on:edit={() => gradio.dispatch("edit")}
on:play={() => gradio.dispatch("play")}
on:pause={() => gradio.dispatch("pause")}
on:stop={() => gradio.dispatch("stop")}
on:start_recording={() => gradio.dispatch("start_recording")}
on:pause_recording={() => gradio.dispatch("pause_recording")}
on:stop_recording={(e) => gradio.dispatch("stop_recording")}
on:upload={() => gradio.dispatch("upload")}
on:clear={() => gradio.dispatch("clear")}
on:error={handle_error}
on:close_stream={() => gradio.dispatch("close_stream", "stream")}
i18n={gradio.i18n}
{waveform_settings}
{waveform_options}
{trim_region_settings}
{stream_every}
bind:modify_stream={_modify_stream}
bind:set_time_limit
upload={(...args) => gradio.client.upload(...args)}
stream_handler={(...args) => gradio.client.stream(...args)}
>
{/if}