{#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}
max_file_size={gradio.max_file_size}
{handle_reset_value}
{editable}
bind:dragging
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}
i18n={gradio.i18n}
{waveform_settings}
{waveform_options}
{trim_region_settings}
upload={gradio.client.upload}
stream_handler={gradio.client.stream}
>
{/if}