Spaces:
Runtime error
Runtime error
Implemented input validation and styling for temperature and max tokens options in the Playground component.
Browse files25 unmodified lines262728293029303132333435363712 unmodified lines505152505153545556575859606125 unmodified lines >Temperature</label > <input type="text" class="w-12 rounded border px-1 py-0.5 text-right text-sm" type="number" class="w-16 rounded border px-1 py-0.5 text-right text-sm" bind:value={temperature} min="0" max="1" step="0.1" /> </div> <input12 unmodified lines >Max tokens</label > <input type="text" class="w-16 rounded border px-1 py-0.5 text-right text-sm" type="number" class="w-20 rounded border px-1 py-0.5 text-right text-sm" bind:value={maxTokens} min="1" max="32000" step="1" /> </div> <inputsrc/lib/components/Playground/PlaygroundOptions.svelte+10-4