From 3e89d2998588f8e35c524e523ba2ee853f0f6475 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Mon, 20 Apr 2026 11:31:17 +0200 Subject: refactor: restructure files to their domains, new preview overlay system, and dep graph --- apps/web/src/services/transcription/service.ts | 4 ++-- apps/web/src/services/transcription/worker.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/web/src/services/transcription') diff --git a/apps/web/src/services/transcription/service.ts b/apps/web/src/services/transcription/service.ts index 443a4230..9fa17a87 100644 --- a/apps/web/src/services/transcription/service.ts +++ b/apps/web/src/services/transcription/service.ts @@ -3,11 +3,11 @@ import type { TranscriptionResult, TranscriptionProgress, TranscriptionModelId, -} from "@/lib/transcription/types"; +} from "@/transcription/types"; import { DEFAULT_TRANSCRIPTION_MODEL, TRANSCRIPTION_MODELS, -} from "@/lib/transcription/models"; +} from "@/transcription/models"; import type { WorkerMessage, WorkerResponse } from "./worker"; type ProgressCallback = (progress: TranscriptionProgress) => void; diff --git a/apps/web/src/services/transcription/worker.ts b/apps/web/src/services/transcription/worker.ts index 928b580e..0ced6484 100644 --- a/apps/web/src/services/transcription/worker.ts +++ b/apps/web/src/services/transcription/worker.ts @@ -3,11 +3,11 @@ import { type AutomaticSpeechRecognitionPipeline, type AutomaticSpeechRecognitionOutput, } from "@huggingface/transformers"; -import type { TranscriptionSegment } from "@/lib/transcription/types"; +import type { TranscriptionSegment } from "@/transcription/types"; import { DEFAULT_CHUNK_LENGTH_SECONDS, DEFAULT_STRIDE_SECONDS, -} from "@/lib/transcription/audio"; +} from "@/transcription/audio"; export type WorkerMessage = | { type: "init"; modelId: string } -- cgit v1.3.1