Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

1.3 KB
Raw Blame
// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0

import { readSrc } from "./kit.ts";

export const AUDIO_WORKSPACE_FILES = [
  "features/audio/audio-page.tsx",
  "features/audio/hooks/use-stt-sidecar.ts",
  "features/audio/hooks/use-transcription.ts",
  "features/audio/hooks/use-audio-gallery.tsx",
  "features/audio/hooks/use-audio-model-slot.ts",
  "features/audio/hooks/use-speech-generation.ts",
  "features/audio/hooks/use-audio-handoff.ts",
  "features/audio/pages/tts-workspace.tsx",
  "features/audio/pages/speak-page.tsx",
  "features/audio/pages/music-page.tsx",
  "features/audio/pages/transcribe-page.tsx",
  "features/audio/components/instructions-fields.tsx",
  "features/audio/tools/registry.tsx",
  "features/audio/tools/tool-panel-host.tsx",
  "features/audio/audio-workspace-constants.ts",
  "features/audio/audio-workspace-utils.ts",
  "features/audio/components/field.tsx",
  "features/audio/components/workflow-title-menu.tsx",
  "features/audio/components/clip-card.tsx",
  "features/audio/components/waveform.tsx",
] as const;

export type AudioWorkspaceFile = (typeof AUDIO_WORKSPACE_FILES)[number];

export function readAudioWorkspaceSource(): string {
  return AUDIO_WORKSPACE_FILES.map((file) => readSrc(file)).join("\n");
}