Spaces:
Sleeping
Sleeping
Automated Legal Document Analysis and Question Answering System
Requirements
Python Version
- Python 3.9.10
Huggingface API
- Generate your API key and place it in the .env file:
HUGGINGFACEHUB_API_TOKEN=""
Setup Environment
Option 1: Automated Setup (PowerShell)
- Run
CreateEnv.ps1
file in PowerShell. It will:- Create a virtual environment
- Activate it
- Create temporary folders
- Install necessary Python modules
Option 2: Manual Setup
- Create a virtual environment:
python -m venv venv
- Activate virtual environment:
venv\Scripts\Activate.ps1
- Install Python modules:
python -m pip install -r "requirements.txt"
- Create folders:
- Outputs
- Models (if you want to download manually) (Not necessary)