Spaces:
Paused
Paused
| title: Writing Style Transfer | |
| emoji: ✍️ | |
| colorFrom: indigo | |
| colorTo: purple | |
| sdk: gradio | |
| python_version: "3.10" | |
| app_file: app.py | |
| pinned: false | |
| license: mit | |
| # Writing Style Transfer | |
| This is a premium, lightweight, interactive Literary Style Transfer tool designed specifically for computational social science and humanities courses. | |
| ## Features | |
| - **Flexible Data Input**: Paste raw text directly or upload datasets (`.csv`, `.xlsx`, or `.txt`). | |
| - **Flexible Style Modes**: | |
| - **Local Lexical Replacer (CPU & Fast)**: Runs a custom keyword regex mapper that dynamically transforms common words and structures into highly identifiable Victorian, Shakespearean, or dystopian Newspeak equivalent vocabularies locally on CPU. | |
| - **Transformers (API Mode)**: Leverages advanced instruction-tuned generative LLMs (like `Qwen2.5` or `Llama-3`) via Hugging Face's Serverless API with your personal access token to completely rewrite and transform drafts. | |
| - **Iconic Styles**: Choose from Shakespearean (Early Modern), Orwellian (Dystopian Newspeak), Hemingwayesque (Minimalist), and Academic/Formal styles. | |
| - **TXT Data Export**: Download the fully rewritten styled outputs as `.txt` files. | |