diff --git a/admin-lehrer/app/(admin)/ai/ocr-pipeline/page.tsx b/admin-lehrer/app/(admin)/ai/ocr-pipeline/page.tsx
index fdd202b..4e45621 100644
--- a/admin-lehrer/app/(admin)/ai/ocr-pipeline/page.tsx
+++ b/admin-lehrer/app/(admin)/ai/ocr-pipeline/page.tsx
@@ -112,6 +112,16 @@ export default function OcrPipelinePage() {
}
}
+ const goToStep = (step: number) => {
+ setCurrentStep(step)
+ setSteps((prev) =>
+ prev.map((s, i) => ({
+ ...s,
+ status: i < step ? 'completed' : i === step ? 'active' : 'pending',
+ })),
+ )
+ }
+
const handleNext = () => {
if (currentStep < steps.length - 1) {
setSteps((prev) =>
@@ -161,7 +171,7 @@ export default function OcrPipelinePage() {
case 3:
return
- OCR mit Bounding Boxes fuer jedes erkannte Wort. - Dieser Schritt wird in einer zukuenftigen Version implementiert. -
-+ Bitte zuerst Schritte 1-4 abschliessen. +
| # | +English | +Deutsch | +Example | +Conf | +
|---|---|---|---|---|
| {idx + 1} | ++ {entry.english || β} + | ++ {entry.german || β} + | ++ {entry.example || β} + | ++ {entry.confidence}% + | +