--- title: ContraGenAI - A Protocol Contradiction Detector emoji: 🔬 colorFrom: purple colorTo: indigo sdk: docker app_port: 7860 pinned: false --- # Protocol Contradiction Detector Detect methodological contradictions across experimental research papers using GenAI. ## How to use 1. Upload 2 or more research paper PDFs 2. Click **Detect Contradictions** 3. Review the ranked contradictions, side-by-side table, and optimal protocol recommendation 4. Download the full HTML report ## Setup Add your Groq API key as a **Space Secret**: - Go to your Space → Settings → Repository secrets - Add a secret named `GROQ_API_KEY` with your key from [console.groq.com](https://console.groq.com) ## Stack - **Frontend**: React + Vite - **Backend**: FastAPI + Python - **AI**: Groq API (LLaMA 3.3 70B) - **PDF parsing**: pdfplumber