Spaces:
Runtime error
Runtime error
Adjusted the temperature and max tokens input fields, including updating the min, max, and step values.
Browse files21 unmodified lines222324252627282916 unmodified lines4647484950515253545556575859606162636465666768697021 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><inputtype="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><inputtype="number"class="w-20 rounded border px-1 py-0.5 text-right text-sm"bind:value={maxTokens}min="1"max="32000"step="32"/></div><inputid="max-tokens-range"type="range"bind:value={maxTokens}min="1"max="32000"step="32"class="h-2 w-full cursor-pointer appearance-none rounded-lg bg-gray-200 accent-black dark:bg-gray-700"/></div>21 unmodified lines22232425262728293016 unmodified lines474849505152535455565758596061626364656667686970717221 unmodified lines</div><div><div class="flex items-center justify-between"><labelfor="temperature-range"class="mb-2 block text-sm font-medium text-gray-900 dark:text-white">Temperature</label><inputtype="number"16 unmodified lines</div><div><div class="flex items-center justify-between"><labelfor="max-tokens-range"class="mb-2 block text-sm font-medium text-gray-900 dark:text-white">Max tokens</label><inputtype="number"class="w-20 rounded border px-1 py-0.5 text-right text-sm"bind:value={maxTokens}min="0"max="32000"step="512"/></div><inputid="max-tokens-range"type="range"bind:value={maxTokens}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