Fix circular progress bar
Browse files208 unmodified lines20921021121221221321421521622 unmodified lines239240241241242243244245208 unmodified lines const fakeProb = Math.max(0, Math.min(1, rawScore)); const realProb = 1 - fakeProb; const isFake = result.final_label === "fake"; const labelProb = isFake ? fakeProb : realProb; const percent = Math.round(fakeProb * 100); const percent = Math.round(labelProb * 100); const labelText = isFake ? "FAKE" : "REAL"; const primaryColor = isFake ? "#ef4444" : "#22c55e"; // red-500 or emerald-500 const trackColor = "#020617"; // slate-95022 unmodified lines <div>REAL: {realProb.toFixed(3)}</div> <div>FAKE: {fakeProb.toFixed(3)}</div> <div className="text-emerald-300/80 text-[10px]"> Circle shows how much of the model's belief is fake. Circle shows how confident the model is in this verdict. </div> <div className="text-emerald-300/70 text-[10px] md:text-xs mt-1"> Always review the individual frames below; treat this as a guide, not absolute proof.frontend/pages/analyze.jsx+3-2