Open lasyaEd opened 1 month ago
app.py: The main entry point for running the Flask application. Import and initialize the app here.
models.py: Load and set up your models (LegalBERT and T5) and any related functions.
retrieval.py: Define functions for retrieving relevant documents using LegalBERT.
simplification.py: Define functions for simplifying text using T5.
api.py: Define your Flask API endpoints. You can import functions from the other modules here.