vsj0702 commited on
Commit
882d7fc
Β·
verified Β·
1 Parent(s): 86922b4

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +67 -5
README.md CHANGED
@@ -1,12 +1,74 @@
1
  ---
2
- title: Code Editor
3
- emoji: 😻
4
- colorFrom: red
5
  colorTo: blue
6
  sdk: streamlit
7
  sdk_version: 1.46.1
8
  app_file: app.py
9
- pinned: false
10
  ---
11
 
12
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: Pro Code Playground
3
+ emoji: πŸ’»
4
+ colorFrom: indigo
5
  colorTo: blue
6
  sdk: streamlit
7
  sdk_version: 1.46.1
8
  app_file: app.py
9
+ pinned: true
10
  ---
11
 
12
+ # πŸ’» Pro Code Playground
13
+
14
+ **Pro Code Playground** is an interactive Python code editor and runner, with built-in AI code assistant, powered by [Streamlit](https://streamlit.io/).
15
+ It features a live code editor, stdin simulation, and theme support for light and dark modes.
16
+
17
+ ---
18
+
19
+ ### πŸš€ Features
20
+
21
+ - 🧠 AI Assistant (LLaMA-3 via Groq)
22
+ - πŸ“ Live Python code editor (via `streamlit_ace`)
23
+ - πŸ§ͺ Simulate input with `stdin`
24
+ - πŸŒ“ Theme toggle (light/dark)
25
+ - πŸ’¬ Scrollable, memory-aware chatbot
26
+ - 🎨 Custom dynamic styling with CSS injection
27
+ - πŸ”Š (Optional) Text-to-speech via Edge TTS
28
+
29
+ ---
30
+
31
+ ### πŸ› οΈ Tech Stack
32
+
33
+ - `Streamlit` + `streamlit_ace`
34
+ - `LangChain`, `Groq`, `LLaMA 3`
35
+ - `Edge TTS` (optional)
36
+ - Fully modular structure (`app.py`, `layout.py`, `style.py`, `chatbot.py`)
37
+
38
+ ---
39
+
40
+ ### πŸ”§ Configuration
41
+
42
+ - Toggle light/dark mode with emoji switch β˜€οΈ / πŸŒ™
43
+ - Customize themes easily via `layout.py`
44
+ - Built to run inside Hugging Face Spaces or locally
45
+
46
+ ---
47
+
48
+ ### 🧠 Powered by
49
+
50
+ - **LLM**: LLaMA 3–70B (via [Groq API](https://console.groq.com/))
51
+ - **LangChain**: Prompt templates & memory
52
+ - **Hugging Face Spaces**: Host and deploy
53
+
54
+ ---
55
+
56
+ ### πŸ“ Project Structure
57
+
58
+ .
59
+ β”œβ”€β”€ app.py # Main Streamlit app
60
+ β”œβ”€β”€ layout.py # Session init & dynamic theming
61
+ β”œβ”€β”€ style.py # (optional) legacy theming logic
62
+ β”œβ”€β”€ chatbot.py # AI assistant with memory & summary
63
+ β”œβ”€β”€ utils.py # Code execution logic
64
+ β”œβ”€β”€ requirements.txt
65
+ └── README.md
66
+
67
+
68
+ ---
69
+
70
+ ### πŸ§ͺ Try It Live
71
+
72
+ This app is live on [πŸ€— Hugging Face Spaces](https://huggingface.co/spaces/vsj0702/Code_editor) β€” just run it in your browser, no setup needed.
73
+
74
+ ---