Spaces:
Paused
Paused
File size: 745 Bytes
d61fb4a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 |
<script lang="ts">
export let llm: "openai" | "hf";
</script>
<h3 class="text-lg">Select your LLM</h3>
<div class="join mx-auto gap-5">
<label
class="label cursor-pointer"
on:click={() => (llm = "openai")}
on:keypress={() => (llm = "openai")}
>
<span class="label-text pr-2">OpenAI</span>
<input
type="radio"
name="radio-10"
class="radio checked:bg-primary-500"
checked
/>
</label>
<label
class="label cursor-pointer"
on:click={() => (llm = "hf")}
on:keypress={() => (llm = "hf")}
>
<span class="label-text pr-2">Hugging Face</span>
<input
type="radio"
name="radio-10"
class="radio checked:bg-primary-500"
checked
/>
</label>
</div>
|