{#if showDownloadButton && value !== null} {/if} {#if showShareButton && value !== null} { if (value === null) return ""; let url = await uploadToHuggingFace(value.image, "base64"); return ``; }} {value} /> {/if} {#if showClearButton && value !== null && interactive}
{/if}
{#if value !== null}
dispatch("change")} {boxesAlpha} {labelList} {labelColors} {boxMinSize} {interactive} {handleSize} {boxThickness} {disableEditBoxes} boxSelectedThickness={boxSelectedThickness} src={value.image.url} />
{/if}
{#if (sources.length > 1 || sources.includes("clipboard")) && value === null && interactive} {/if}