diff --git a/ui-svelte/src/components/playground/AudioInterface.svelte b/ui-svelte/src/components/playground/AudioInterface.svelte index 4f002eb7..c4a5e8a1 100644 --- a/ui-svelte/src/components/playground/AudioInterface.svelte +++ b/ui-svelte/src/components/playground/AudioInterface.svelte @@ -4,6 +4,8 @@ import { transcribeAudio } from "../../lib/audioApi"; import { playgroundStores } from "../../stores/playgroundActivity"; import ModelSelector from "./ModelSelector.svelte"; + import { Button } from "$lib/components/ui/button/index.js"; + import { Copy, Check } from "@lucide/svelte"; const selectedModelStore = persistentStore("playground-audio-model", ""); @@ -169,22 +171,19 @@ {:else if transcriptionResult}
-

Transcription Result

- +
{transcriptionResult} @@ -223,33 +222,21 @@ onchange={handleFileSelect} bind:this={fileInput} /> - +
{#if isTranscribing} - + {:else} - - + + {/if}
{/if} diff --git a/ui-svelte/src/components/playground/ImageInterface.svelte b/ui-svelte/src/components/playground/ImageInterface.svelte index db684d61..0e832327 100644 --- a/ui-svelte/src/components/playground/ImageInterface.svelte +++ b/ui-svelte/src/components/playground/ImageInterface.svelte @@ -7,6 +7,7 @@ import ModelSelector from "./ModelSelector.svelte"; import ExpandableTextarea from "./ExpandableTextarea.svelte"; import type { ImageApiMode, SdApiLora, SdApiLoraRef } from "../../lib/types"; + import { Button } from "$lib/components/ui/button/index.js"; const selectedModelStore = persistentStore("playground-image-model", ""); const selectedSizeStore = persistentStore("playground-image-size", "1024x1024"); @@ -226,12 +227,9 @@ {#if isSdapi} - + {/if}
@@ -330,13 +328,14 @@
LoRAs
- + {#if lorasLoaded && availableLoras.length > 0} {#if $selectedModelStore && !getVoicesCache()[$selectedModelStore]} - + + {/if}
@@ -285,15 +280,9 @@ {/if} - + @@ -327,24 +316,25 @@ />
{#if isGenerating} - + {:else} - - +