gradio.dispatch("clear_status", loading_status)}
/>
{#if !interactive}
gradio.dispatch("select", detail)}
selectable={_selectable}
{value}
{label}
{show_label}
{height}
{representations}
{config}
{confidenceLabel}
{moldata}
{errors}
i18n={gradio.i18n}
molviewer={showviewer}
/>
{:else}
{
value = detail;
}}
on:drag={({ detail }) => (dragging = detail)}
on:clear={() => gradio.dispatch("clear")}
on:select={({ detail }) => gradio.dispatch("select", detail)}
on:notfound={() =>
gradio.dispatch(
"error",
"identifier not found in database, check spelling"
)}
on:upload={() => gradio.dispatch("upload")}
on:error={({ detail }) => {
loading_status = loading_status || {};
loading_status.status = "error";
gradio.dispatch("error", detail);
}}
on:delete={({ detail }) => {
gradio.dispatch("delete", detail);
}}
i18n={gradio.i18n}
>
{/if}
{#if errors.length > 0 && value !== null}
Error in the representations
Couldn't display Molecule. Fix the following problems:
{#each errors as error}
- {error}
{/each}
{/if}