Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available:
5.13.1
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
- Select the programming language from the dropdown
- Paste your code in the input box
- Click "Submit for Review"
- View the detailed review suggestions
- Check the History tab to see previous reviews
- 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 accessMODEL_NAME
: Defaults to "google/gemma-2b-it"
License
MIT License