{#if showTokenInput}

Sign In with HuggingFace Token

Manual Token Entry: Please enter your HuggingFace token.

1. Go to HuggingFace Settings
2. Create a new token with "Inference API" permissions
3. Copy and paste it below

{#if isLocalEnvironment}

Tip: You can also run huggingface-cli login in your terminal to automatically use your local token.

{/if}
e.key === 'Enter' && submitToken()} /> {#if tokenError}

{tokenError}

{/if}
{/if}