dvpearl commited on
Commit
03feec5
·
verified ·
1 Parent(s): 117a292

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +176 -162
README.md CHANGED
@@ -1,162 +1,176 @@
1
- # ✍️ Reframe : Elevate your message
2
-
3
- Reframe is a feedback rewriter assistant and a communication tool that rewrites workplace or professional feedback into more **clear, respectful, and human-friendly tones** — choose from styles like **Empathetic**, **Managerial**, **Formal**, **Friendly**, or **Assertive**.
4
- Optionally, generate the output in a **polished email format** — great for HRs, team leads, or anyone giving constructive input.
5
-
6
- Built using [Streamlit](https://streamlit.io/) and free open-source LLMs via [OpenRouter](https://openrouter.ai) — powered by models like **Mistral**, **Mixtral**, and **MythoMax**.
7
-
8
-
9
- ## 🧠 What It Does
10
-
11
- Rewrites raw or harsh feedback messages into:
12
-
13
- - ✅ Friendly, Empathetic, Managerial, Formal, or Assertive tone
14
- - ✅ Professional **email format** (optional toggle)
15
- - Clear and polished paragraphs (default)
16
- - ✅ Output in **multiple languages**
17
-
18
- Built with:
19
- - 🧠 OpenRouter API (free-tier friendly)
20
- - Automatic model fallback (no dropdowns)
21
- - ✨ Responsive UI using Streamlit
22
- - 🔒 No user data stored — safe to use
23
-
24
-
25
- ## 📆 Tech Stack
26
-
27
- - Python 3
28
- - Streamlit
29
- - OpenRouter API
30
- - Mistral 7B / Mixtral / Capybara / Mythomax fallback stack
31
- - Markdown-based output display
32
-
33
- ## 📷 Preview
34
-
35
- ![Demo of Feedback Rewriter Assistant](Screenshot.png)
36
-
37
- ### 🎨 Available Tones
38
-
39
- - 🧭 Managerial
40
- - 💖 Empathetic
41
- - 🧾 Formal
42
- - 😊 Friendly
43
- - 💼 Assertive
44
-
45
- ### 🛠️ Built With
46
-
47
- - [Streamlit](https://streamlit.io/)
48
- - [OpenRouter (Open Source LLM Gateway)](https://openrouter.ai/)
49
- - Python + Requests
50
-
51
-
52
- ## 🛠️ Installation (Run Locally)
53
-
54
- ```bash
55
- git clone https://github.com/dmmudhan/feedback-rewriter-gpt.git
56
- cd feedback-rewriter-gpt
57
- pip install -r requirements.txt
58
- streamlit run app.py
59
- ```
60
-
61
- ## 🔐 Setup Your API Key
62
-
63
- Create a file: `.streamlit/secrets.toml`
64
-
65
- ```toml
66
- OPENROUTER_API_KEY = "sk-or-your-api-key-here"
67
- ```
68
-
69
- Get your free key from: [https://openrouter.ai/keys](https://openrouter.ai/keys)
70
-
71
-
72
- ## 🧾 Version History
73
-
74
- ### ✅ v2.0 – Rebrand & Feedback-Powered Communication
75
-
76
- - 🔄 Rebranded to "Reframe" – A name that reflects empathy, clarity, and intentional communication
77
- - 💬 Smart feedback transformation – Rewrites tough messages into kind, clear, and professional versions in seconds
78
- - 🎯 Tone Precision – 5 adaptive tones (Friendly, Firm, Empathetic, Professional, Enthusiastic) to match any workplace context
79
- - 🌍 Multilingual Support – Write and reframe in 12+ languages with native expressions and cultural nuance
80
- - 📧 Email Format Mode – Generate ready-to-send emails with proper greeting, body, and closing
81
- - 🌍 Effortless Sharing – Easily share your refined feedback on Twitter, LinkedIn, and Facebook with a single click.
82
- - 📊 User History & Export – Track your communication evolution and export your rewrites
83
- - 🌟 Social Proof Engine – “What Others Say” displays top-rated community feedback with sorting, styling, and fallbacks
84
- - 🔁 Feedback Loop Built-In – Users can submit feedback that instantly appears in the public feed (CSV + Google Sheets sync)
85
- - 🛠️ Robust Persistence – Dual storage: Google Sheets (cloud) + feedback_local.csv (fallback) for reliability
86
- - 🎨 Premium UI Experience – Animated hero header, glowing "Reframe" logo, smooth hover effects, and modern layout
87
- - ✨ Micro-Interactions – Subtle animations, fade-ins, and card lifts for a polished, high-end feel
88
- - 🧩 Emotionally Intelligent Prompts Ensures feedback is always directed to others, not self-apologies
89
- - 🧑‍💼 User-Centric UX – Added neutral rating option, “Other” in enhancements, and close button in feedback form
90
- - 📱 Mobile-Friendly DesignResponsive layout works seamlessly on all devices
91
-
92
- [🔗 Live App](https://feedback-rewriter-gpt-caht6hciagxykx52hz6xnh.streamlit.app/)
93
-
94
- ### v1.3Email Format Toggle + UX Enhancements
95
-
96
- - 📧 Added "Format as Email" option for professional email output
97
- - 📋 Copy-friendly rewritten text using markdown display
98
- - 🦶 Footer added with creator credit and version info
99
- - Preserved clean UX and fallback logic from v1.2
100
-
101
- [🔗 Live App](https://feedback-rewriter-gpt-ciwy4jjbnswedu3wgppmss.streamlit.app/)
102
-
103
-
104
- ### v1.2 (Latest)
105
- - ✨ UI cleaned up with better spacing between sections
106
- - 🧠 Improved system prompt to avoid unwanted email formatting
107
- - 🔄 Built-in fallback logic for models — no user dropdown required
108
- - 🎯 Auto-reset session on first app load after deploy (Streamlit Cloud safe)
109
- - 🚫 Hides technical model failure messages from users
110
- - 💬 Renamed output section: “Here's Your Refined Feedback”
111
- - Clean, production-ready UX no manual refresh needed by users
112
-
113
- [🔗 Live App](https://feedback-rewriter-gpt-2epkjjin5zogy4mbdwhded.streamlit.app/) · [📂 Source Code](https://github.com/dmmudhan/feedback-rewriter-gpt)
114
-
115
- ### v1.1 – Tone Detection Update
116
- - Added tone selection input (e.g., formal, friendly, assertive)
117
- - Introduced `prompts.py` for modular prompt design
118
- - Improved user experience with clearer outputs
119
- - Updated Streamlit deployment
120
-
121
- [🔗 Live App](https://feedback-rewriter-gpt-caht6hciagxykx52hz6xnh.streamlit.app/)
122
-
123
- ### v1.0 Initial Version
124
- - Basic Feedback Rewriting using LLM
125
- - Accepts raw user feedback and rewrites it professionally
126
-
127
-
128
- ## 🤝 Contributing
129
-
130
- Pull requests are welcome. Feel free to open an issue or suggest improvements!
131
-
132
-
133
- ## 🧑‍💼 Author
134
-
135
- **Devi Mudhanagiri**
136
- Prompt Engineering Enthusiast | AI Builder | Freelancing Learner
137
- [LinkedIn](https://www.linkedin.com/in/devimuthyam/)
138
-
139
- ---
140
-
141
- ## 📝 License
142
-
143
- MIT License
144
- Copyright (c) 2025 Devi Mudhanagiri
145
-
146
- Permission is hereby granted, free of charge, to any person obtaining a copy
147
- of this software and associated documentation files (the "Software"), to deal
148
- in the Software without restriction, including without limitation the rights
149
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
150
- copies of the Software, and to permit persons to whom the Software is
151
- furnished to do so, subject to the following conditions:
152
-
153
- The above copyright notice and this permission notice shall be included in
154
- all copies or substantial portions of the Software.
155
-
156
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
157
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
158
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
159
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
160
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
161
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
162
- THE SOFTWARE.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: REFRAME
3
+ emoji: ✍️
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: streamlit
7
+ app_file: app.py
8
+ pinned: false
9
+ license: mit
10
+ thumbnail: >-
11
+ https://cdn-uploads.huggingface.co/production/uploads/6866bac745eed950b753b458/_134vdPqMBpIvAhd1guZl.png
12
+ short_description: Refine your tone. Amplify your impact
13
+ ---
14
+
15
+ # ✍️ Reframe : Elevate your message
16
+
17
+ Reframe is a feedback rewriter assistant and a communication tool that rewrites workplace or professional feedback into more **clear, respectful, and human-friendly tones** — choose from styles like **Empathetic**, **Managerial**, **Formal**, **Friendly**, or **Assertive**.
18
+ Optionally, generate the output in a **polished email format** — great for HRs, team leads, or anyone giving constructive input.
19
+
20
+ Built using [Streamlit](https://streamlit.io/) and free open-source LLMs via [OpenRouter](https://openrouter.ai) — powered by models like **Mistral**, **Mixtral**, and **MythoMax**.
21
+
22
+
23
+ ## 🧠 What It Does
24
+
25
+ Rewrites raw or harsh feedback messages into:
26
+
27
+ - Friendly, Empathetic, Managerial, Formal, or Assertive tone
28
+ - ✅ Professional **email format** (optional toggle)
29
+ - Clear and polished paragraphs (default)
30
+ - Output in **multiple languages**
31
+
32
+ Built with:
33
+ - 🧠 OpenRouter API (free-tier friendly)
34
+ - ⚡ Automatic model fallback (no dropdowns)
35
+ - Responsive UI using Streamlit
36
+ - 🔒 No user data stored — safe to use
37
+
38
+
39
+ ## 📆 Tech Stack
40
+
41
+ - Python 3
42
+ - Streamlit
43
+ - OpenRouter API
44
+ - Mistral 7B / Mixtral / Capybara / Mythomax fallback stack
45
+ - Markdown-based output display
46
+
47
+ ## 📷 Preview
48
+
49
+ ![Demo of Feedback Rewriter Assistant](Screenshot.png)
50
+
51
+ ### 🎨 Available Tones
52
+
53
+ - 🧭 Managerial
54
+ - 💖 Empathetic
55
+ - 🧾 Formal
56
+ - 😊 Friendly
57
+ - 💼 Assertive
58
+
59
+ ### 🛠️ Built With
60
+
61
+ - [Streamlit](https://streamlit.io/)
62
+ - [OpenRouter (Open Source LLM Gateway)](https://openrouter.ai/)
63
+ - Python + Requests
64
+
65
+
66
+ ## 🛠️ Installation (Run Locally)
67
+
68
+ ```bash
69
+ git clone https://github.com/dmmudhan/feedback-rewriter-gpt.git
70
+ cd feedback-rewriter-gpt
71
+ pip install -r requirements.txt
72
+ streamlit run app.py
73
+ ```
74
+
75
+ ## 🔐 Setup Your API Key
76
+
77
+ Create a file: `.streamlit/secrets.toml`
78
+
79
+ ```toml
80
+ OPENROUTER_API_KEY = "sk-or-your-api-key-here"
81
+ ```
82
+
83
+ Get your free key from: [https://openrouter.ai/keys](https://openrouter.ai/keys)
84
+
85
+
86
+ ## 🧾 Version History
87
+
88
+ ### v2.0Rebrand & Feedback-Powered Communication
89
+
90
+ - 🔄 Rebranded to "Reframe" A name that reflects empathy, clarity, and intentional communication
91
+ - 💬 Smart feedback transformation – Rewrites tough messages into kind, clear, and professional versions in seconds
92
+ - 🎯 Tone Precision – 5 adaptive tones (Friendly, Firm, Empathetic, Professional, Enthusiastic) to match any workplace context
93
+ - 🌍 Multilingual Support – Write and reframe in 12+ languages with native expressions and cultural nuance
94
+ - 📧 Email Format Mode Generate ready-to-send emails with proper greeting, body, and closing
95
+ - 🌍 Effortless Sharing – Easily share your refined feedback on Twitter, LinkedIn, and Facebook with a single click.
96
+ - 📊 User History & Export Track your communication evolution and export your rewrites
97
+ - 🌟 Social Proof Engine – “What Others Say” displays top-rated community feedback with sorting, styling, and fallbacks
98
+ - 🔁 Feedback Loop Built-In Users can submit feedback that instantly appears in the public feed (CSV + Google Sheets sync)
99
+ - 🛠️ Robust Persistence Dual storage: Google Sheets (cloud) + feedback_local.csv (fallback) for reliability
100
+ - 🎨 Premium UI Experience – Animated hero header, glowing "Reframe" logo, smooth hover effects, and modern layout
101
+ - Micro-Interactions – Subtle animations, fade-ins, and card lifts for a polished, high-end feel
102
+ - 🧩 Emotionally Intelligent Prompts – Ensures feedback is always directed to others, not self-apologies
103
+ - 🧑‍💼 User-Centric UX – Added neutral rating option, “Other” in enhancements, and close button in feedback form
104
+ - 📱 Mobile-Friendly Design – Responsive layout works seamlessly on all devices
105
+
106
+ [🔗 Live App](https://feedback-rewriter-gpt-caht6hciagxykx52hz6xnh.streamlit.app/)
107
+
108
+ ### v1.3 Email Format Toggle + UX Enhancements
109
+
110
+ - 📧 Added "Format as Email" option for professional email output
111
+ - 📋 Copy-friendly rewritten text using markdown display
112
+ - 🦶 Footer added with creator credit and version info
113
+ - Preserved clean UX and fallback logic from v1.2
114
+
115
+ [🔗 Live App](https://feedback-rewriter-gpt-ciwy4jjbnswedu3wgppmss.streamlit.app/)
116
+
117
+
118
+ ### v1.2 (Latest)
119
+ - UI cleaned up with better spacing between sections
120
+ - 🧠 Improved system prompt to avoid unwanted email formatting
121
+ - 🔄 Built-in fallback logic for models — no user dropdown required
122
+ - 🎯 Auto-reset session on first app load after deploy (Streamlit Cloud safe)
123
+ - 🚫 Hides technical model failure messages from users
124
+ - 💬 Renamed output section: “Here's Your Refined Feedback”
125
+ - Clean, production-ready UX no manual refresh needed by users
126
+
127
+ [🔗 Live App](https://feedback-rewriter-gpt-2epkjjin5zogy4mbdwhded.streamlit.app/) · [📂 Source Code](https://github.com/dmmudhan/feedback-rewriter-gpt)
128
+
129
+ ### v1.1 – Tone Detection Update
130
+ - Added tone selection input (e.g., formal, friendly, assertive)
131
+ - Introduced `prompts.py` for modular prompt design
132
+ - Improved user experience with clearer outputs
133
+ - Updated Streamlit deployment
134
+
135
+ [🔗 Live App](https://feedback-rewriter-gpt-caht6hciagxykx52hz6xnh.streamlit.app/)
136
+
137
+ ### v1.0 – Initial Version
138
+ - Basic Feedback Rewriting using LLM
139
+ - Accepts raw user feedback and rewrites it professionally
140
+
141
+
142
+ ## 🤝 Contributing
143
+
144
+ Pull requests are welcome. Feel free to open an issue or suggest improvements!
145
+
146
+
147
+ ## 🧑‍💼 Author
148
+
149
+ **Devi Mudhanagiri**
150
+ Prompt Engineering Enthusiast | AI Builder | Freelancing Learner
151
+ [LinkedIn](https://www.linkedin.com/in/devimuthyam/)
152
+
153
+ ---
154
+
155
+ ## 📝 License
156
+
157
+ MIT License
158
+ Copyright (c) 2025 Devi Mudhanagiri
159
+
160
+ Permission is hereby granted, free of charge, to any person obtaining a copy
161
+ of this software and associated documentation files (the "Software"), to deal
162
+ in the Software without restriction, including without limitation the rights
163
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
164
+ copies of the Software, and to permit persons to whom the Software is
165
+ furnished to do so, subject to the following conditions:
166
+
167
+ The above copyright notice and this permission notice shall be included in
168
+ all copies or substantial portions of the Software.
169
+
170
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
171
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
172
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
173
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
174
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
175
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
176
+ THE SOFTWARE.