zsxkib/emotion2color 📝 → 🖼️
About
Transform your text into a beautiful two-tone color gradient that represents your emotions.
Example Output
Output
Performance Metrics
0.20s
Prediction Time
Input Parameters
- text (required)
- A sentence which we'd like to classify the emotion for to generate a colour (two-tone gradient)
Output Schema
Output
Example Execution Logs
================================================================================
sorted_emotions=[{'label': 'surprise', 'score': 0.8931869268417358}, {'label': 'anger', 'score': 0.06370508670806885}]
(#FFA500) top_emotion='surprise'
(#FF0000) bottom_emotion='anger'
================================================================================
Version Details
- Version ID
48df7b6affb51390d728da2372cb1cd19e5a89b59cbc86c2524420a67030c6cc- Version Created
- June 6, 2023