{#if isDownloadingModel}
Downloading AI Model...
{:else if isModelLoading}
Loading AI Model...
{:else if isDetectingFace}
Detecting Face
.
.
.
{/if} {#if currentCrop}
{/if}
{#if faceDetectionError}
Manual crop
{:else if currentCrop && autoDetectedCrop && JSON.stringify(currentCrop) !== JSON.stringify(autoDetectedCrop)}
Custom crop
{:else if autoDetectedCrop}
Auto-cropped
{/if}
{personName}
{#if isProcessing}
Processing...
{:else if faceDetectionError}
Using center crop
{:else if autoDetectedCrop}
Face detected
{/if}
{#if showCropEditor}
{/if}