Writing_Assistant / README.md
hephaestusonfire's picture
Update README.md
f857211 verified
|
Raw History Blame Contribute Delete
1.26 kB

A newer version of the Gradio SDK is available: 6.32.0

Upgrade
metadata
title: AI-Aware Writing Assistant
emoji: ✍️
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 6.15.2
python_version: '3.10'
app_file: app.py
pinned: false

✍️ AI-Aware Writing Assistant

A hybrid NLP + Transformer writing assistant with a Docs-meets-Grammarly UI.

Features

  • Grammar mode — spelling correction → regex rules → neural GEC (per-sentence, no truncation)
  • Paraphrase mode — Neutral / Formal / Casual / Student essay / Technical styles with synonym replacement and sentence-length variation
  • Both — grammar first, then paraphrase
  • Diff highlighting — red strikethrough for removals, green underline for additions
  • Dark / Light mode — toggle in header, saved across sessions
  • Copy result — one-click copy of the corrected text
  • Text statistics — word count, Flesch readability, burstiness

Models

Task Model
Grammar vennify/t5-base-grammar-correction (fallback: prithivida/grammar_error_correcter_v1)
Paraphrase Vamsi/T5_Paraphrase_Paws

Running locally

python -m venv .venv
source .venv/bin/activate   # Windows: .venv\Scripts\activate
pip install -r requirements.txt
python app.py
# → http://127.0.0.1:7860