diff --git a/web/src/components/card/ClassificationCard.tsx b/web/src/components/card/ClassificationCard.tsx index ca4f430d2..4be8284e3 100644 --- a/web/src/components/card/ClassificationCard.tsx +++ b/web/src/components/card/ClassificationCard.tsx @@ -99,28 +99,32 @@ export function ClassificationCard({ {t("information.pixels", { ns: "common", area: imageArea })} )} -
-
-
-
- {data.name == "unknown" ? t("details.unknown") : data.name} +
+
+
+
+ {data.name == "unknown" ? t("details.unknown") : data.name} +
+ {data.score && ( +
+ {Math.round(data.score * 100)}%
- {data.score && ( -
- {Math.round(data.score * 100)}% -
- )} -
-
- {children} -
+ )} +
+
+ {children}
diff --git a/web/src/components/overlay/FaceSelectionDialog.tsx b/web/src/components/overlay/FaceSelectionDialog.tsx index 3644ff1cf..174428a12 100644 --- a/web/src/components/overlay/FaceSelectionDialog.tsx +++ b/web/src/components/overlay/FaceSelectionDialog.tsx @@ -62,7 +62,7 @@ export default function FaceSelectionDialog({ ); return ( -
+
{newFace && ( onTrainAttempt(data, name)} > - + onReprocess(data)} /> @@ -954,7 +954,7 @@ function FaceGrid({ { e.stopPropagation(); onDelete(pageToggle, [image]);