Spaces:
Runtime error
Runtime error
Implemented input validation and styling for temperature and max tokens options in the Playground component.
Browse files25 unmodified lines26272829303132333412 unmodified lines47484950515253545525 unmodified lines>Temperature</label><inputtype="text"class="w-12 rounded border px-1 py-0.5 text-right text-sm"bind:value={temperature}/></div><input12 unmodified lines>Max tokens</label><inputtype="text"class="w-16 rounded border px-1 py-0.5 text-right text-sm"bind:value={maxTokens}/></div><input25 unmodified lines26272829303132333435363712 unmodified lines50515253545556575859606125 unmodified lines>Temperature</label><inputtype="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><inputtype="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><input
src/lib/components/Playground/PlaygroundOptions.svelte+10-4