mishig HF staff commited on
Commit
af2caac
1 Parent(s): 15bbf38

rm commented out code

Browse files
src/lib/components/InferencePlayground/InferencePlayground.svelte CHANGED
@@ -358,30 +358,6 @@
358
  conversation={conversations[0]}
359
  on:click={() => (showModelPickerModal = open)}
360
  />
361
- <!-- <div
362
- class="group relative -mt-4 flex h-[26px] w-full items-center justify-center gap-2 rounded-lg bg-black px-5 text-sm text-white hover:bg-gray-900 focus:outline-none focus:ring-4 focus:ring-gray-300 dark:border-gray-700 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-gray-700"
363
- >
364
- Compare with...
365
- <IconCaret classNames="opacity-70" />
366
- <select
367
- class="absolute inset-0 border-none bg-white text-base opacity-0 outline-none"
368
- on:change|preventDefault={(e) => {
369
- conversations = [
370
- ...conversations,
371
- {
372
- id: String(Math.random()),
373
- model: e.target.value,
374
- config: { temperature: 0.5, maxTokens: 2048, streaming: true },
375
- messages: [...conversations[0].messages]
376
- }
377
- ];
378
- }}
379
- >
380
- {#each models as model}
381
- <option value={model.id}>{model.id}</option>
382
- {/each}
383
- </select>
384
- </div> -->
385
 
386
  <PlaygroundOptions bind:conversation={conversations[0]} />
387
  <div class="mt-auto">
 
358
  conversation={conversations[0]}
359
  on:click={() => (showModelPickerModal = open)}
360
  />
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
361
 
362
  <PlaygroundOptions bind:conversation={conversations[0]} />
363
  <div class="mt-auto">