diff --git a/frontend/app/video/subtitles/page.tsx b/frontend/app/video/subtitles/page.tsx index 120eaf6..2afc2ea 100644 --- a/frontend/app/video/subtitles/page.tsx +++ b/frontend/app/video/subtitles/page.tsx @@ -118,6 +118,16 @@ export default function SubtitlesPage() { formData.append('background_opacity', '0.0'); formData.append('word_timestamps', '0'); + // Debug: Log FormData contents + console.log('📤 Sending FormData to subtitle API:'); + for (const [key, value] of formData.entries()) { + if (value instanceof File) { + console.log(` ${key}:`, value.name, `(${value.size} bytes, ${value.type})`); + } else { + console.log(` ${key}:`, value); + } + } + const response = await modulesApi.processSubtitles(formData); const job = response.data;