Vi0509 commited on
Commit
70db6a9
·
verified ·
1 Parent(s): 05a8be0

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +31 -6
README.md CHANGED
@@ -1,12 +1,37 @@
1
  ---
2
- title: Kaeva Factcheck
3
- emoji: 📈
4
  colorFrom: indigo
5
- colorTo: yellow
6
  sdk: gradio
7
- sdk_version: 6.6.0
8
  app_file: app.py
9
- pinned: false
 
 
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Kaeva Fact-Check
3
+ emoji: 🔍
4
  colorFrom: indigo
5
+ colorTo: purple
6
  sdk: gradio
7
+ sdk_version: 4.44.1
8
  app_file: app.py
9
+ pinned: true
10
+ license: mit
11
+ short_description: Two-stage AI fact-checking with DeBERTa + Gemini Search
12
  ---
13
 
14
+ # Kaeva Fact-Check
15
+
16
+ Two-stage AI fact-checking pipeline:
17
+
18
+ 1. **Stage 1 — DeBERTa Classifier**: Instant binary detection (real vs fake news)
19
+ 2. **Stage 2 — Gemini + Google Search**: Live evidence verification with cited sources
20
+
21
+ ## API Usage
22
+
23
+ ```python
24
+ import requests
25
+
26
+ # Single claim
27
+ resp = requests.post("https://Vi0509-kaeva-factcheck.hf.space/api/check", json={
28
+ "claim": "The Earth is flat.",
29
+ "force_search": False
30
+ })
31
+ print(resp.json())
32
+
33
+ # Batch (up to 20)
34
+ resp = requests.post("https://Vi0509-kaeva-factcheck.hf.space/api/batch", json={
35
+ "claims": ["Claim 1", "Claim 2"]
36
+ })
37
+ ```