Joash commited on
Commit
573694a
·
1 Parent(s): 764b8c8

Update Space metadata for proper ZeroGPU configuration

Browse files
Files changed (1) hide show
  1. README.md +4 -30
README.md CHANGED
@@ -4,11 +4,12 @@ emoji: 🤖
4
  colorFrom: blue
5
  colorTo: green
6
  sdk: gradio
7
- sdk_version: 5.8.0
8
  app_file: app.py
9
  pinned: false
10
  hf_oauth: false
11
  hardware: a10g-small
 
12
  ---
13
 
14
  # Code Review Assistant
@@ -21,13 +22,12 @@ An automated code review system powered by Gemma-2b that provides intelligent co
21
  - Analyzes code quality and suggests improvements
22
  - Identifies potential bugs and security issues
23
  - Recommends best practices and optimizations
24
- - Supports multiple programming languages (Python, JavaScript, Java, C++, TypeScript, Go, Rust)
25
 
26
  ### LLMOps Integration
27
  - Uses Gemma-2b for intelligent code analysis
28
  - Tracks model performance and accuracy
29
  - Monitors response times and token usage
30
- - Optimized with ZeroGPU for efficient inference
31
 
32
  ### Performance Monitoring
33
  - Real-time metrics dashboard
@@ -48,32 +48,6 @@ The following environment variables need to be set in your Hugging Face Space:
48
  - `HUGGING_FACE_TOKEN`: Your Hugging Face API token (required)
49
  - `MODEL_NAME`: google/gemma-2b-it (default)
50
 
51
- ## Hardware Configuration
52
-
53
- This Space uses:
54
- - Runtime: ZeroGPU
55
- - Hardware: A10G Small
56
- - Memory: Optimized for efficient model inference
57
-
58
- ## Usage
59
-
60
- 1. Enter your code in the text box
61
- 2. Select the programming language from the dropdown
62
- 3. Click "Submit for Review"
63
- 4. View the detailed analysis including:
64
- - Critical issues
65
- - Suggested improvements
66
- - Best practices
67
- - Security considerations
68
-
69
- ## Model Details
70
-
71
- This application uses the Gemma-2b-it model from Google, which is:
72
- - Optimized for instruction following
73
- - Capable of detailed code analysis
74
- - Efficient for deployment
75
- - Suitable for code review tasks
76
-
77
  ## License
78
 
79
- This project is licensed under the MIT License.
 
4
  colorFrom: blue
5
  colorTo: green
6
  sdk: gradio
7
+ sdk_version: 4.0.0
8
  app_file: app.py
9
  pinned: false
10
  hf_oauth: false
11
  hardware: a10g-small
12
+ inference: true
13
  ---
14
 
15
  # Code Review Assistant
 
22
  - Analyzes code quality and suggests improvements
23
  - Identifies potential bugs and security issues
24
  - Recommends best practices and optimizations
25
+ - Supports multiple programming languages
26
 
27
  ### LLMOps Integration
28
  - Uses Gemma-2b for intelligent code analysis
29
  - Tracks model performance and accuracy
30
  - Monitors response times and token usage
 
31
 
32
  ### Performance Monitoring
33
  - Real-time metrics dashboard
 
48
  - `HUGGING_FACE_TOKEN`: Your Hugging Face API token (required)
49
  - `MODEL_NAME`: google/gemma-2b-it (default)
50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  ## License
52
 
53
+ This project is licensed under the MIT License.