Joash2024's picture
Update README.md
8864ec7 verified

A newer version of the Gradio SDK is available: 5.13.1

Upgrade
metadata
title: Code Review Assistant V3
emoji: πŸ”
colorFrom: blue
colorTo: purple
sdk: gradio
sdk_version: 5.9.0
app_file: app.py
pinned: false

Code Review Assistant V3

This Space provides an automated code review system powered by Gemma-2b-it. It analyzes code and provides suggestions for improvements in multiple categories including issues, improvements, best practices, and security considerations.

Features

  • πŸ” Automated code review for multiple programming languages
  • πŸ’‘ Detailed suggestions for code improvements
  • πŸ”’ Security considerations and best practices
  • πŸ“Š Review history and performance metrics
  • ⚑ GPU-accelerated inference
  • 🎨 Clean and intuitive interface

Supported Languages

  • Python
  • JavaScript
  • Java
  • C++
  • TypeScript
  • Go
  • Rust

Usage

  1. Select the programming language from the dropdown
  2. Paste your code in the input box
  3. Click "Submit for Review"
  4. View the detailed review suggestions
  5. Check the History tab to see previous reviews
  6. Monitor performance in the Metrics tab

Technical Details

  • Model: google/gemma-2b-it
  • Framework: Gradio
  • Inference: GPU-accelerated with PyTorch
  • Persistent storage for review history and metrics

Environment Setup

The Space requires the following environment variables:

  • HUGGING_FACE_TOKEN: Your Hugging Face token for model access
  • MODEL_NAME: Defaults to "google/gemma-2b-it"

License

MIT License