Spaces:
Runtime error
Runtime error
Markdown help
Browse files
README.md
CHANGED
@@ -11,4 +11,27 @@ license: mit
|
|
11 |
short_description: Smart sentiment monitoring for call centers and chatbots.
|
12 |
---
|
13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
11 |
short_description: Smart sentiment monitoring for call centers and chatbots.
|
12 |
---
|
13 |
|
14 |
+
# ποΈ Welcome to HappyPulse!
|
15 |
+
|
16 |
+
## π How It Works
|
17 |
+
|
18 |
+
HappyPulse is a sentiment analysis tool that allows you to record your voice or upload an audio file and analyze the emotions behind your speech. Using AI-powered transcription and sentiment analysis, we provide insights into the emotional tone of your communication.
|
19 |
+
|
20 |
+
## π€ Try It Now!
|
21 |
+
|
22 |
+
- Click **Record** and speak naturally, expressing different emotions.
|
23 |
+
- Upload an audio file if you prefer.
|
24 |
+
- Our AI will transcribe your speech and analyze its sentiment.
|
25 |
+
- Get instant feedback on the emotional tone detected!
|
26 |
+
|
27 |
+
## π Why Use HappyPulse?
|
28 |
+
|
29 |
+
β
Understand emotional tones in conversations.
|
30 |
+
β
Improve customer service by detecting frustration in real-time.
|
31 |
+
β
Gain insights into communication effectiveness.
|
32 |
+
|
33 |
+
Give it a try and see how emotions influence speech! π
|
34 |
+
|
35 |
+
|
36 |
+
|
37 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
app.py
CHANGED
@@ -111,5 +111,33 @@ with gr.Blocks() as demo:
|
|
111 |
overall_happiness_output = gr.Number(label="Happiness Score (%)")
|
112 |
json_btn = gr.Button("Process Chat Log")
|
113 |
json_btn.click(process_text_log, inputs=json_input, outputs=[log_summary_output, total_messages_output, overall_happiness_output])
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
|
115 |
demo.launch()
|
|
|
111 |
overall_happiness_output = gr.Number(label="Happiness Score (%)")
|
112 |
json_btn = gr.Button("Process Chat Log")
|
113 |
json_btn.click(process_text_log, inputs=json_input, outputs=[log_summary_output, total_messages_output, overall_happiness_output])
|
114 |
+
gr.Markdown("""
|
115 |
+
# ποΈ Welcome to HappyPulse!
|
116 |
+
|
117 |
+
## π How It Works
|
118 |
+
|
119 |
+
HappyPulse is a sentiment analysis tool that allows you to record your voice or upload an audio file and analyze the emotions behind your speech. Using AI-powered transcription and sentiment analysis, we provide insights into the emotional tone of your communication.
|
120 |
+
|
121 |
+
## π€ Try It Now!
|
122 |
+
|
123 |
+
### **Audio Analysis** π§
|
124 |
+
- Click **Record** and speak naturally, expressing different emotions.
|
125 |
+
- Upload an audio file if you prefer.
|
126 |
+
- Our AI will transcribe your speech and analyze its sentiment.
|
127 |
+
- Get instant feedback on the emotional tone detected!
|
128 |
+
|
129 |
+
### **Chat Log Analysis** π¬
|
130 |
+
- Upload a JSON file containing chat conversations.
|
131 |
+
- The system will analyze each message's sentiment.
|
132 |
+
- Understand customer emotions and improve interactions.
|
133 |
+
|
134 |
+
## π Why Use HappyPulse?
|
135 |
+
|
136 |
+
β
Understand emotional tones in conversations.
|
137 |
+
β
Improve customer service by detecting frustration in real-time.
|
138 |
+
β
Gain insights into communication effectiveness.
|
139 |
+
|
140 |
+
Give it a try and see how emotions influence speech and text! π
|
141 |
+
uit """)
|
142 |
|
143 |
demo.launch()
|