CodeFeel / README.md
jasvir-singh1021's picture
Update README.md
ff1ba06 verified

A newer version of the Gradio SDK is available: 6.1.0

Upgrade
metadata
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

GitHub Emotions

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, 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.

Demo Screenshot


Installation (Optional for Local Use)

To run locally, clone the repo and install dependencies:

git clone https://huggingface.co/spaces/<your-space-name>
cd <your-space-name>
pip install -r requirements.txt
python app.py