Spaces:
Runtime error
Runtime error
Adjusted the temperature and max tokens input fields, including updating the min, max, and step values.
Browse files21 unmodified lines222324252625262728293016 unmodified lines47484949505051525354555657565859586061626364656665666767686970717221 unmodified lines</div><div> <div class="flex items-center justify-between"> <label for="temperature-range" class="mb-2 block text-sm font-medium text-gray-900 dark:text-white" >Temperature</label <label for="temperature-range" class="mb-2 block text-sm font-medium text-gray-900 dark:text-white">Temperature</label > <input type="number"16 unmodified lines</div><div> <div class="flex items-center justify-between"> <label for="max-tokens-range" class="mb-2 block text-sm font-medium text-gray-900 dark:text-white" >Max tokens</label <label for="max-tokens-range" class="mb-2 block text-sm font-medium text-gray-900 dark:text-white">Max tokens</label > <input type="number" class="w-20 rounded border px-1 py-0.5 text-right text-sm" bind:value={maxTokens} min="1" min="0" max="32000" step="32" step="512" /> </div> <input id="max-tokens-range" type="range" bind:value={maxTokens} min="1" max="32000" step="32" min="0" max="16000" step="512" class="h-2 w-full cursor-pointer appearance-none rounded-lg bg-gray-200 accent-black dark:bg-gray-700" /></div>src/lib/components/Playground/PlaygroundOptions.svelte+11-9