Update app.py
Browse files
app.py
CHANGED
|
@@ -60,12 +60,6 @@ def main():
|
|
| 60 |
- ⚡ **Inverters**
|
| 61 |
- 🔧 **Electric panels**, **switchgear**, **relays**, and more.
|
| 62 |
|
| 63 |
-
The feedback is categorized into **sentiment categories**:
|
| 64 |
-
- ✅ **Positive**
|
| 65 |
-
- ❌ **Negative**
|
| 66 |
-
- ⚖️ **Neutral**
|
| 67 |
-
- 🔄 **Mixed**
|
| 68 |
-
|
| 69 |
Simply select a model, input your feedback text, and get detailed results with a confidence score.
|
| 70 |
This tool is ideal for manufacturers and service providers to identify areas of improvement and enhance product reliability and customer satisfaction. 🚀
|
| 71 |
"""
|
|
@@ -196,5 +190,14 @@ def main():
|
|
| 196 |
|
| 197 |
st.plotly_chart(fig, use_container_width=True)
|
| 198 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 199 |
if __name__ == "__main__":
|
| 200 |
main()
|
|
|
|
| 60 |
- ⚡ **Inverters**
|
| 61 |
- 🔧 **Electric panels**, **switchgear**, **relays**, and more.
|
| 62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
Simply select a model, input your feedback text, and get detailed results with a confidence score.
|
| 64 |
This tool is ideal for manufacturers and service providers to identify areas of improvement and enhance product reliability and customer satisfaction. 🚀
|
| 65 |
"""
|
|
|
|
| 190 |
|
| 191 |
st.plotly_chart(fig, use_container_width=True)
|
| 192 |
|
| 193 |
+
# Entity type legend
|
| 194 |
+
st.sidebar.title("Sentiment Categories")
|
| 195 |
+
st.sidebar.markdown("""
|
| 196 |
+
- ✅ **Positive**
|
| 197 |
+
- ❌ **Negative**
|
| 198 |
+
- ⚖️ **Neutral**
|
| 199 |
+
- 🔄 **Mixed**
|
| 200 |
+
""")
|
| 201 |
+
|
| 202 |
if __name__ == "__main__":
|
| 203 |
main()
|