jasvir-singh1021 commited on
Commit
6cf53b1
·
verified ·
1 Parent(s): eff8bef

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +28 -8
README.md CHANGED
@@ -1,11 +1,31 @@
1
- # AI Code Generator Gradio App
2
 
3
- This app lets you generate code snippets using a Hugging Face LLM (e.g., StarCoder).
4
- Deploy it on [Hugging Face Spaces](https://huggingface.co/spaces) for free.
5
 
6
- ## 🧠 How to Use
7
- 1. Type your prompt (e.g., "read a JSON file in Python")
8
- 2. Select a language
9
- 3. Click "Submit" to generate the code
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
 
11
- Built with Gradio + Transformers.
 
1
+ # 🤖 AI Code Generator
2
 
3
+ Generate code snippets from plain English prompts using Hugging Face's StarCoder model and a clean Gradio UI.
 
4
 
5
+ ---
6
+
7
+ ## Features
8
+ - Natural-language to code generation
9
+ - Language selection: Python, JavaScript, Bash, HTML, Java, C++
10
+ - Powered by `bigcode/starcoder`
11
+ - Free and open-source
12
+
13
+ ---
14
+
15
+ ## 🧪 Example Prompts
16
+ - Print even numbers from 1 to 100
17
+ - Connect to a database in Java
18
+ - Build a responsive navbar in HTML
19
+ - Make a bash script to backup a directory
20
+
21
+ ---
22
+
23
+ ## 🔧 Tech Stack
24
+ - [Gradio](https://gradio.app)
25
+ - [Transformers](https://huggingface.co/docs/transformers)
26
+ - Model: [bigcode/starcoder](https://huggingface.co/bigcode/starcoder)
27
+
28
+ ---
29
+
30
+ ## 📁 Project Structure
31