A Flask + Groq app that rewrites text for a chosen tone and audience, then checks meaning preservation with comparison and back-translation.
- Tone and audience sliders.
- One focused rewrite per request.
- Length and formality sliders.
- Compact comparison and drift checks.
- Create and activate a Python virtual environment.
- Install dependencies with
pip install -r requirements.txt. - Copy
.env.exampleto.envand add your Groq API key. - Run
python run.pyfor local development.
- The app expects
GROQ_API_KEYin.env. - Default model:
llama-3.3-70b-versatile.
