Skip to content

OpenReel Video - Professional browser-based video editor. Open source CapCut alternative. 100% browser-based, no installation, no cloud uploads, no watermarks.

TypeScript

fix: use polling-enabled transcription server for subtitle generation

Augustus Otuac41e9d26426
diff --git a/apps/web/src/components/editor/InspectorPanel.tsx b/apps/web/src/components/editor/InspectorPanel.tsx
index d9959aab..4ab8edd5 100644
--- a/apps/web/src/components/editor/InspectorPanel.tsx
+++ b/apps/web/src/components/editor/InspectorPanel.tsx
@@ -48,7 +48,7 @@ import {
AlignmentSection,
BehindSubjectSection,
} from "./inspector";
-import { OPENREEL_TTS_URL } from "../../config/api-endpoints";
+import { OPENREEL_TRANSCRIBE_URL } from "../../config/api-endpoints";
import { AutoEditPanel } from "./panels/AutoEditPanel";
import { HighlightExtractorPanel } from "./panels/HighlightExtractorPanel";
import {
@@ -462,7 +462,7 @@ export const InspectorPanel: React.FC = () => {
try {
const transcriptionService = initializeTranscriptionService({
- apiEndpoint: `${OPENREEL_TTS_URL}/transcribe`,
+ apiEndpoint: `${OPENREEL_TRANSCRIBE_URL}/transcribe`,
targetLanguage: targetLanguage !== "none" ? targetLanguage : undefined,
});