summaryrefslogtreecommitdiff
path: root/apps/web/src/services/transcription
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-04-14 18:17:14 +0200
committerMaze Winther <mazewinther@gmail.com>2026-04-14 18:17:14 +0200
commit6de6c7fd95de1de9d8d3107eaf7ce1dd150ed094 (patch)
tree75d5eb387b867449fc2218f5fe9b3acc70731561 /apps/web/src/services/transcription
parent34c67ef8e85eafd6dfe6808280c807aceb00a345 (diff)
downloadopencut-6de6c7fd95de1de9d8d3107eaf7ce1dd150ed094.tar.gz
refactor: move constants to domain modules
Diffstat (limited to 'apps/web/src/services/transcription')
-rw-r--r--apps/web/src/services/transcription/service.ts2
-rw-r--r--apps/web/src/services/transcription/worker.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/services/transcription/service.ts b/apps/web/src/services/transcription/service.ts
index fa657032..443a4230 100644
--- a/apps/web/src/services/transcription/service.ts
+++ b/apps/web/src/services/transcription/service.ts
@@ -7,7 +7,7 @@ import type {
import {
DEFAULT_TRANSCRIPTION_MODEL,
TRANSCRIPTION_MODELS,
-} from "@/constants/transcription-constants";
+} from "@/lib/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 e22fe796..928b580e 100644
--- a/apps/web/src/services/transcription/worker.ts
+++ b/apps/web/src/services/transcription/worker.ts
@@ -7,7 +7,7 @@ import type { TranscriptionSegment } from "@/lib/transcription/types";
import {
DEFAULT_CHUNK_LENGTH_SECONDS,
DEFAULT_STRIDE_SECONDS,
-} from "@/constants/transcription-constants";
+} from "@/lib/transcription/audio";
export type WorkerMessage =
| { type: "init"; modelId: string }