Spaces:
Runtime error
Runtime error
| title: CodeFeel | |
| emoji: π | |
| colorFrom: purple | |
| colorTo: blue | |
| sdk: gradio | |
| sdk_version: 5.43.1 | |
| app_file: app.py | |
| pinned: false | |
| short_description: Code Feel | |
| Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |
| # GitHub Comment Emotion Detector | |
|  | |
| ## Overview | |
| **GitHub Comment Emotion Detector** is an interactive web application that detects the emotional tone of GitHub comments. Using a fine-tuned transformer model trained on the [GitHub Emotion Love dataset](https://huggingface.co/datasets/imranraad/github-emotion-love), it predicts six emotions: | |
| - Anger | |
| - Love | |
| - Fear | |
| - Joy | |
| - Sadness | |
| - Surprise | |
| This tool is designed to help developers and community managers understand the emotional context of discussions in GitHub repositories. | |
| --- | |
| ## Features | |
| - **Multi-label Emotion Detection**: Detects multiple emotions in a single comment. | |
| - **Interactive Web Interface**: Enter a comment and get real-time predictions. | |
| - **Easy Integration**: Can be extended to analyze batches of comments or integrated into GitHub tools. | |
| --- | |
| ## Demo | |
| Enter a GitHub comment in the text box and click **Submit** to see predicted emotions and their confidence scores. | |
|  | |
| --- | |
| ## Installation (Optional for Local Use) | |
| To run locally, clone the repo and install dependencies: | |
| ```bash | |
| git clone https://huggingface.co/spaces/<your-space-name> | |
| cd <your-space-name> | |
| pip install -r requirements.txt | |
| python app.py | |