feat: 将视频转写重构为纯文字异步语音识别

This commit is contained in:
2026-10-03 21:58:06 +08:00
parent 040273586b
commit 6f0e38054b
34 changed files with 2283 additions and 1771 deletions
+12
View File
@@ -0,0 +1,12 @@
// Imported before Prisma so its engine cannot capture the project's live URL.
const database = process.env.TEST_DATABASE_URL;
if (database) {
const url = new URL(database);
if (
!["localhost", "127.0.0.1"].includes(url.hostname) ||
url.pathname !== "/douyin_asr_test"
) {
throw new Error("Only local douyin_asr_test database is permitted");
}
process.env.DATABASE_URL = database;
}