Spaces:
Runtime error
Runtime error
Download source/ui/src/lib/TemperatureOptions.svelte from ai-guru/composer: direct link, hf CLI and curl.
- Browser
- Download file 486 Bytes
-
https://huggingface.co/spaces/ai-guru/composer/resolve/main/source/ui/src/lib/TemperatureOptions.svelte
- Command line
-
hf download hf://spaces/ai-guru/composer/source/ui/src/lib/TemperatureOptions.svelte
-
curl -L -o TemperatureOptions.svelte https://huggingface.co/spaces/ai-guru/composer/resolve/main/source/ui/src/lib/TemperatureOptions.svelte
486 Bytes
| <script lang="ts"> | |
| import { temperature } from './stores'; | |
| import { temperatures } from './config.json'; | |
| import Radio from './Radio.svelte'; | |
| </script> | |
| <div> | |
| <fieldset> | |
| <legend>Temperature</legend> | |
| <Radio bind:selection={$temperature} options={temperatures} /> | |
| </fieldset> | |
| </div> | |
| <style> | |
| fieldset { | |
| padding: 0; | |
| border: none; | |
| margin-top: 1rem; | |
| } | |
| legend { | |
| text-align: center; | |
| font-size: 1.25rem; | |
| font-weight: 700; | |
| padding: 0; | |
| margin-bottom: 1rem; | |
| } | |
| </style> | |