{#if showTokenModal} (showTokenModal = false)} on:submit={(e) => { const formData = new FormData(e.target); hfToken = formData.get('hf-token'); submit(); showTokenModal = false; }} /> {/if} SYSTEM {#if !viewCode} {#each messages as message, i} deleteMessage(i)} /> {/each} Add message {:else} {/if} Share 0 tokens · Latency {latency}ms (viewCode = !viewCode)} class="flex h-[39px] items-center gap-2 rounded-lg border border-gray-200 bg-white px-3 py-2.5 text-sm font-medium text-gray-900 hover:bg-gray-100 hover:text-blue-700 focus:z-10 focus:outline-none focus:ring-4 focus:ring-gray-100 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-400 dark:hover:bg-gray-700 dark:hover:text-white dark:focus:ring-gray-700" > {!viewCode ? 'View Code' : 'Hide Code'} { viewCode = false; submit(); }} type="button" class="flex h-[39px] w-24 items-center justify-center gap-2 rounded-lg bg-black px-5 py-2.5 text-sm font-medium text-white hover:bg-gray-900 focus:outline-none focus:ring-4 focus:ring-gray-300 disabled:opacity-50 dark:border-gray-700 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-gray-700" > {#if loading} {:else} Run ⌘↵ {/if} Get more usage Larger models, x10 quota, and advanced features. Get PRO ($9/month) API Quota Free 76%