Spaces:
Runtime error
Runtime error
fix stuff
Browse filesFiles changed (2)
55 unmodified lines56575859596061152 unmodified lines21421521621821721821922091 unmodified lines31231331431631531631731855 unmodified lines let currentConversation = conversations[0]; let systemMessage: Message = { role: 'system', content: '' }; $: messages = currentConversation.messages; $: currentModel = currentConversation.model;
let hfToken: string | null = ''; let viewCode = false;152 unmodified lines </div> </button> {:else} <PlaygroundCode model={currentModel} {...currentConversation.config} /> <PlaygroundCode {...currentConversation} {...currentConversation.config} /> {/if} </div>
91 unmodified lines </div> </div> <div class="flex flex-col gap-6 overflow-y-hidden p-5"> <PlaygroundModelSelector {compatibleModels} bind:currentModel /> <PlaygroundModelSelector {compatibleModels} bind:currentModel={currentConversation.model} /> <PlaygroundOptions bind:temperature={currentConversation.config.temperature} bind:maxTokens={currentConversation.config.maxTokens}2 unmodified lines3456678910112 unmodified lines export let streaming: Boolean; export let temperature: number; export let maxTokens: number; export let messages: Array; export let messages: Message[];
$: console.log(messages);
const npmSnippet = `import { HfInference } from '@huggingface/inference'
src/lib/components/Playground/Playground.svelte+2-3
src/lib/components/Playground/PlaygroundCode.svelte+3-1