IDKHowToCodeFr commited on
Commit
05fba9e
·
verified ·
1 Parent(s): a91fa9a

Upload folder using huggingface_hub

Browse files
frontend/src/app/simulator/page.tsx CHANGED
@@ -184,7 +184,7 @@ export default function Analysis() {
184
  <div key={modelName} className="flex justify-between items-center p-3 hover:bg-canvas-cream transition-colors">
185
  <div className="w-[20%] text-slate">[{modelName}]</div>
186
  <div className={`w-[40%] ${prediction.model_outputs[modelName] !== 'Healthy' ? 'text-hazard' : ''}`}>
187
- {prediction.model_outputs[modelName] !== 'Healthy' ? '! ' + prediction.model_outputs[modelName] : 'OK Healthy'}
188
  </div>
189
  <div className="w-[20%] text-right">
190
  CONF: {(prediction.model_probs[modelName] * 100).toFixed(1)}%
 
184
  <div key={modelName} className="flex justify-between items-center p-3 hover:bg-canvas-cream transition-colors">
185
  <div className="w-[20%] text-slate">[{modelName}]</div>
186
  <div className={`w-[40%] ${prediction.model_outputs[modelName] !== 'Healthy' ? 'text-hazard' : ''}`}>
187
+ {prediction.model_outputs[modelName] !== 'Healthy' ? '[!] ' + prediction.model_outputs[modelName] : '[OK] HEALTHY'}
188
  </div>
189
  <div className="w-[20%] text-right">
190
  CONF: {(prediction.model_probs[modelName] * 100).toFixed(1)}%