Skip to content

Commit

Permalink
Re-added inconclusive label
Browse files Browse the repository at this point in the history
  • Loading branch information
Sallaa committed Aug 28, 2024
1 parent 58e4398 commit f979406
Showing 1 changed file with 14 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -443,18 +443,20 @@ const SyntheticImageDetectionResults = ({
ref={gaugeChartRef}
p={2}
>
{maxScore > DETECTION_THRESHOLDS.THRESHOLD_2 && (
<Typography
variant="h5"
align="center"
alignSelf="center"
sx={{ color: "red" }}
>
{keyword(
"synthetic_image_detection_generic_detection_text",
)}
</Typography>
)}
<Typography
variant="h5"
align="center"
alignSelf="center"
sx={{ color: "red" }}
>
{maxScore > DETECTION_THRESHOLDS.THRESHOLD_2
? keyword(
"synthetic_image_detection_generic_detection_text",
)
: keyword(
"synthetic_image_detection_generic_inconclusive_text",
)}
</Typography>

{nd && nd.similar_media && nd.similar_media.length > 0 && (
<Typography
Expand Down

0 comments on commit f979406

Please sign in to comment.