Spaces:
Sleeping
Sleeping
File size: 2,129 Bytes
05d0c7e c2e9507 030e1a4 05d0c7e c6030ed | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 | ---
title: Blocksmith
emoji: 📊
colorFrom: indigo
colorTo: blue
sdk: gradio
sdk_version: 6.13.0
app_file: app.py
pinned: false
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# 🧱 Blocksmith AI (Powered by Grok)
Blocksmith is an AI-powered text structuring and editing tool that transforms raw input into modular “blocks” — enabling precise editing, rewriting, and full-document refinement.
---
## ✨ Features
### 🧩 Block-Based Editing
- Paste any text
- Automatically split into structured blocks
- Select and edit individual lines easily
### ✨ AI Rewrite (Block-Level)
- Improve clarity and professionalism of a selected block
- Works like a “smart editor” for each line
### 🚀 AI Rewrite (Full Document)
- Rewrites the entire text
- Outputs result separately (preserves original blocks)
- Ideal for polishing final drafts
### 🛠 Manual Control
- Edit any block manually
- Update and refine iteratively
---
## 🧠 Why Blocksmith?
Most AI tools treat text as one big blob.
**Blocksmith introduces granular AI control over text structure.**
This allows:
- Line-by-line refinement
- Selective rewriting
- Better reasoning workflows
---
## 🖥️ How to Use
1. Paste your text into the input box
2. Click **Create Blocks**
3. Select a block from the dropdown
4. Choose an action:
- **Update** → manually edit
- **✨ Rewrite (AI)** → improve selected block
- **🚀 Rewrite All (AI)** → rewrite entire text
5. View the rewritten output in the **Rewritten Full Text** section
---
## ⚙️ Tech Stack
- Frontend/UI: Gradio
- LLM Backend: Grok (xAI)
- Hosting: Hugging Face Spaces
## 🚧 Known Limitations
- Depends on external API (latency may vary)
- Large inputs may be truncated due to token limits
- Block splitting is line-based (not semantic… yet)
## 🔮 Future Improvements
- Multi-agent rewriting (per block)
- Notion-style inline editing
- Diff view (original vs rewritten)
- Export to Markdown / Docs
- Style modes (formal, concise, creative)
## 👨💻 Author
Anuraag Rath
|