From f6b1528f2c16783743e6f36c381d653aa2749880 Mon Sep 17 00:00:00 2001 From: Philippe Martin Date: Thu, 20 Jun 2024 20:32:54 +0200 Subject: [PATCH] refactor: light mode for Services page --- .../service/ServiceColumnModelName.svelte | 4 +-- .../table/service/ServiceColumnName.svelte | 2 +- .../src/pages/InferenceServers.svelte | 30 ++++++++++--------- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/packages/frontend/src/lib/table/service/ServiceColumnModelName.svelte b/packages/frontend/src/lib/table/service/ServiceColumnModelName.svelte index f9c18d4c1..a1cdcd430 100644 --- a/packages/frontend/src/lib/table/service/ServiceColumnModelName.svelte +++ b/packages/frontend/src/lib/table/service/ServiceColumnModelName.svelte @@ -4,13 +4,13 @@ export let object: InferenceServer; {#if object.models.length === 1} - + {object.models[0].name} {:else} {/if} diff --git a/packages/frontend/src/lib/table/service/ServiceColumnName.svelte b/packages/frontend/src/lib/table/service/ServiceColumnName.svelte index f7921efeb..f17cebe21 100644 --- a/packages/frontend/src/lib/table/service/ServiceColumnName.svelte +++ b/packages/frontend/src/lib/table/service/ServiceColumnName.svelte @@ -10,7 +10,7 @@ function openDetails() { diff --git a/packages/frontend/src/pages/InferenceServers.svelte b/packages/frontend/src/pages/InferenceServers.svelte index 78cb1282d..1cdb26ae0 100644 --- a/packages/frontend/src/pages/InferenceServers.svelte +++ b/packages/frontend/src/pages/InferenceServers.svelte @@ -65,21 +65,23 @@ function createNewService() { row="{row}" bind:selectedItemsNumber="{selectedItemsNumber}" /> {:else} -
- There is no model service. You can create one now. +
+
+ There is no model service. You can create one now. +
+

+ A model service offers a configurable endpoint via an OpenAI-compatible web server, facilitating a + seamless integration of AI capabilities into existing applications. Upon initialization, effortlessly + access detailed service information and generate code snippets in multiple programming languages to ease + application integration. +

-

- A model service offers a configurable endpoint via an OpenAI-compatible web server, facilitating a - seamless integration of AI capabilities into existing applications. Upon initialization, effortlessly - access detailed service information and generate code snippets in multiple programming languages to ease - application integration. -

{/if}