Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Thomas G. Lopes
commited on
Commit
·
59842ba
1
Parent(s):
3df9a58
fix spacing
Browse files
src/lib/components/inference-playground/playground.svelte
CHANGED
|
@@ -7,7 +7,7 @@
|
|
| 7 |
import { atLeastNDecimals } from "$lib/utils/number.js";
|
| 8 |
import { isMac } from "$lib/utils/platform.js";
|
| 9 |
import { Popover } from "melt/builders";
|
| 10 |
-
import {
|
| 11 |
import IconExternal from "~icons/carbon/arrow-up-right";
|
| 12 |
import IconWaterfall from "~icons/carbon/chart-waterfall";
|
| 13 |
import IconCode from "~icons/carbon/code";
|
|
@@ -21,16 +21,15 @@
|
|
| 21 |
import Toaster from "../toaster.svelte";
|
| 22 |
import Tooltip from "../tooltip.svelte";
|
| 23 |
import BillingModal from "./billing-modal.svelte";
|
|
|
|
| 24 |
import PlaygroundConversationHeader from "./conversation-header.svelte";
|
| 25 |
import PlaygroundConversation from "./conversation.svelte";
|
| 26 |
import GenerationConfig from "./generation-config.svelte";
|
| 27 |
import MessageTextarea from "./message-textarea.svelte";
|
| 28 |
import ModelSelectorModal from "./model-selector-modal.svelte";
|
| 29 |
import ModelSelector from "./model-selector.svelte";
|
| 30 |
-
import ProviderSelect from "./provider-select.svelte";
|
| 31 |
import ProjectTreeSidebar from "./project-tree-sidebar.svelte";
|
| 32 |
-
import
|
| 33 |
-
import { useEventListener } from "runed";
|
| 34 |
|
| 35 |
// LocalStorage keys
|
| 36 |
const SIDEBAR_COLLAPSED_KEY = "playground:sidebar:collapsed";
|
|
@@ -192,7 +191,7 @@
|
|
| 192 |
|
| 193 |
<!-- Bottom bar -->
|
| 194 |
<div
|
| 195 |
-
class="relative flex h-12 shrink-0 items-center justify-between border-t border-gray-200 bg-white px-4 dark:border-gray-800 dark:bg-gray-900"
|
| 196 |
>
|
| 197 |
<div class="flex items-center gap-4">
|
| 198 |
<Tooltip>
|
|
|
|
| 7 |
import { atLeastNDecimals } from "$lib/utils/number.js";
|
| 8 |
import { isMac } from "$lib/utils/platform.js";
|
| 9 |
import { Popover } from "melt/builders";
|
| 10 |
+
import { useEventListener } from "runed";
|
| 11 |
import IconExternal from "~icons/carbon/arrow-up-right";
|
| 12 |
import IconWaterfall from "~icons/carbon/chart-waterfall";
|
| 13 |
import IconCode from "~icons/carbon/code";
|
|
|
|
| 21 |
import Toaster from "../toaster.svelte";
|
| 22 |
import Tooltip from "../tooltip.svelte";
|
| 23 |
import BillingModal from "./billing-modal.svelte";
|
| 24 |
+
import CheckpointsMenu from "./checkpoints-menu.svelte";
|
| 25 |
import PlaygroundConversationHeader from "./conversation-header.svelte";
|
| 26 |
import PlaygroundConversation from "./conversation.svelte";
|
| 27 |
import GenerationConfig from "./generation-config.svelte";
|
| 28 |
import MessageTextarea from "./message-textarea.svelte";
|
| 29 |
import ModelSelectorModal from "./model-selector-modal.svelte";
|
| 30 |
import ModelSelector from "./model-selector.svelte";
|
|
|
|
| 31 |
import ProjectTreeSidebar from "./project-tree-sidebar.svelte";
|
| 32 |
+
import ProviderSelect from "./provider-select.svelte";
|
|
|
|
| 33 |
|
| 34 |
// LocalStorage keys
|
| 35 |
const SIDEBAR_COLLAPSED_KEY = "playground:sidebar:collapsed";
|
|
|
|
| 191 |
|
| 192 |
<!-- Bottom bar -->
|
| 193 |
<div
|
| 194 |
+
class="relative mt-2 flex h-12 shrink-0 items-center justify-between border-t border-gray-200 bg-white px-4 dark:border-gray-800 dark:bg-gray-900"
|
| 195 |
>
|
| 196 |
<div class="flex items-center gap-4">
|
| 197 |
<Tooltip>
|