Spaces:
Running
Running
A newer version of the Gradio SDK is available:
5.45.0
metadata
license: mit
title: JusticeAI
sdk: gradio
emoji: ⚖️
colorFrom: yellow
colorTo: pink
sdk_version: 5.44.1
app_file: main.py
pinned: false
icense: mit title: JusticeAI Analyzer sdk: gradio emoji: ⚖️ colorFrom: indigo colorTo: blue sdk_version: 5.44.1 app_file: main.py pinned: false
JusticeAI – Criminal Record Analyzer
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.
What It Does
- Accepts pasted or uploaded criminal case text
- Automatically summarizes long legal reports
- Extracts named entities such as people, dates, crimes, courts, and locations
- Classifies crime type based on Nigerian law
- Recommends appropriate punishment according to legal sections
Technologies Used
- Python
- Hugging Face Transformers (
transformers
,pipeline
) - PyTorch
- Gradio (UI interface)
Getting Started
To run locally:
- Clone the repository or upload files to your Hugging Face Space.
- Install dependencies:
pip install -r requirements.txt