File size: 837 Bytes
f522c90
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
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