Spaces:
Running
Running
Upload 51 files
Browse files
src/components/MultiSourceCaptioningView.tsx
CHANGED
@@ -475,11 +475,6 @@ export default function MultiSourceCaptioningView() {
|
|
475 |
>
|
476 |
Test Draw Box
|
477 |
</button>
|
478 |
-
<div className="mt-2 p-2 bg-gray-800 rounded text-xs">
|
479 |
-
<div>Canvas: {canvasDims ? `${canvasDims.w}x${canvasDims.h}` : "-"} | Video: {videoDims ? `${videoDims.w}x${videoDims.h}` : "-"}</div>
|
480 |
-
<div>Raw Model Output:</div>
|
481 |
-
<pre className="overflow-x-auto max-h-32 whitespace-pre-wrap">{debugOutput}</pre>
|
482 |
-
</div>
|
483 |
</div>
|
484 |
)}
|
485 |
{mode === "File" && (
|
@@ -603,13 +598,14 @@ export default function MultiSourceCaptioningView() {
|
|
603 |
>
|
604 |
Test Draw Box
|
605 |
</button>
|
606 |
-
<div className="mt-2 p-2 bg-gray-800 rounded text-xs">
|
607 |
-
<div>Canvas: {canvasDims ? `${canvasDims.w}x${canvasDims.h}` : "-"} | Video: {videoDims ? `${videoDims.w}x${videoDims.h}` : "-"}</div>
|
608 |
-
<div>Raw Model Output:</div>
|
609 |
-
<pre className="overflow-x-auto max-h-32 whitespace-pre-wrap">{debugOutput}</pre>
|
610 |
-
</div>
|
611 |
</div>
|
612 |
)}
|
|
|
|
|
|
|
|
|
|
|
|
|
613 |
</div>
|
614 |
</div>
|
615 |
</div>
|
|
|
475 |
>
|
476 |
Test Draw Box
|
477 |
</button>
|
|
|
|
|
|
|
|
|
|
|
478 |
</div>
|
479 |
)}
|
480 |
{mode === "File" && (
|
|
|
598 |
>
|
599 |
Test Draw Box
|
600 |
</button>
|
|
|
|
|
|
|
|
|
|
|
601 |
</div>
|
602 |
)}
|
603 |
+
{/* Always show Raw Model Output at the bottom */}
|
604 |
+
<div className="mt-2 p-2 bg-gray-800 rounded text-xs w-full max-w-xl">
|
605 |
+
<div>Canvas: {canvasDims ? `${canvasDims.w}x${canvasDims.h}` : "-"} | Video: {videoDims ? `${videoDims.w}x${videoDims.h}` : "-"}</div>
|
606 |
+
<div>Raw Model Output:</div>
|
607 |
+
<pre className="overflow-x-auto max-h-32 whitespace-pre-wrap">{debugOutput}</pre>
|
608 |
+
</div>
|
609 |
</div>
|
610 |
</div>
|
611 |
</div>
|