VortexNode commited on
Commit
251f661
·
verified ·
1 Parent(s): 164a055

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +40 -0
README.md ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # JusticeAI – Criminal Record Analyzer
2
+
3
+ ---
4
+ title: JusticeAI Analyzer
5
+ emoji: ⚖️
6
+ colorFrom: indigo
7
+ colorTo: blue
8
+ sdk: gradio
9
+ sdk_version: 3.44.4
10
+ app_file: main.py
11
+ pinned: false
12
+ ---
13
+
14
+
15
+
16
+ JusticeAI is an AI-powered legal assistant designed to analyze and summarize criminal case records. It extracts key information such as names, crimes, locations, and judgments, then provides legal insights including applicable laws and recommended punishments based on Nigerian criminal law.
17
+
18
+ ## What It Does
19
+
20
+ - Accepts pasted or uploaded criminal case text
21
+ - Automatically summarizes long legal reports
22
+ - Extracts named entities such as people, dates, crimes, courts, and locations
23
+ - Classifies crime type based on Nigerian law
24
+ - Recommends appropriate punishment according to legal sections
25
+
26
+ ## Technologies Used
27
+
28
+ - Python
29
+ - Hugging Face Transformers (`transformers`, `pipeline`)
30
+ - PyTorch
31
+ - Gradio (UI interface)
32
+
33
+ ## Getting Started
34
+
35
+ To run locally:
36
+
37
+ 1. Clone the repository or upload files to your Hugging Face Space.
38
+ 2. Install dependencies:
39
+ ```bash
40
+ pip install -r requirements.txt