|
Download README.md from hephaestusonfire/Writing_Assistant: direct link, hf CLI and curl.
- Browser
- Download file 1.26 kB
-
https://huggingface.co/spaces/hephaestusonfire/Writing_Assistant/resolve/main/README.md
- Command line
-
hf download hf://spaces/hephaestusonfire/Writing_Assistant/README.md
-
curl -L -o README.md https://huggingface.co/spaces/hephaestusonfire/Writing_Assistant/resolve/main/README.md
1.26 kB
| 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 | |
| ```bash | |
| 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 | |
| ``` |