{isUpdate ? "Update Space" : "Deploy to a Space"}

{#if deployState === "success"}

{isUpdate ? "Your Space was updated." : "Your Space is live."}

It may take a few seconds for the Space to build. Public Spaces can be shared with anyone.

{:else if deployState === "reauth"}

To deploy artifacts, HuggingChat needs permission to create Spaces on your Hugging Face account. Sign in again to grant it. It can only access Spaces it creates for you, not your other repositories.

{:else}
{#if !isUpdate}
Visibility
{/if} {#if deployState === "error"}

{errorMessage}

{/if}
{/if}