How ganesh-2026-del/-legalease-ai works
LegalEase AI is presented as a legal-document generator. Its visible workflow has a browser UI and two distinct backend generation paths: a demo generator in main.py and a Gemini-backed endpoint in routes.py. The README documents rent agreements, NDAs, and employment contracts, but the sampled code does not show format-specific handling for all three. The UI-to-backend connection and router registration are not evidenced, so those links are omitted or marked unverified.
Main entry points: routes.py Gemini endpoint · main.py Demo API · README.md Document types · index.html Web interface
Components 8
User interface
- Web interface
index.html
Document generation
- Demo API
main.py - Demo draft
main.py - Gemini endpoint
routes.py - AI-generated draft
routes.py - Document types
README.md
AI integration
- Gemini model
Other components
- User
Connections 7
- User → Web interface: uses
README.md - User → Demo API: requests draft
main.py - Demo API → Demo draft: returns
main.py - User → Gemini endpoint: requests draft
routes.py - Gemini endpoint → Gemini model: generates with
routes.py - Gemini endpoint → AI-generated draft: returns
routes.py - Document types → AI-generated draft: documented capability
README.md