app.py
{#if !loaded}
{loading_text}
{:else}
Interactive
{/if}
{#if loaded}
{/if}