QuantumRusk/Pneumonia-detector ? reverse-engineered prompt

Reverse engineered prompt

Build me a pneumonia screening web app for chest X ray images.

I want a clean dashboard where a user can upload a DICOM, PNG, or JPG scan, enter basic patient info, and get an AI result that classifies the image as Normal, Bacterial, or Viral pneumonia. Show the confidence levels clearly, let the user switch between the original image and a heatmap overlay, and include a simple explanation of the suspicious regions using Grad CAM style highlighting.

Also add a left side control panel for scan settings and sensitivity options, a main area for the live result and image preview, and a bottom section that keeps a history of past scans with timestamps and downloadable report output. Include a performance readout so it shows how long inference takes, and make the design feel modern and clinical with a glassmorphism style.

Use the frontend and backend setup already in the repo, and if you need to check any current docs or best practices, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab