Spaces:
Sleeping
Sleeping
| title: Pro Code Playground | |
| emoji: π» | |
| colorFrom: indigo | |
| colorTo: blue | |
| sdk: streamlit | |
| sdk_version: 1.46.1 | |
| app_file: app.py | |
| pinned: true | |
| # π» Pro Code Playground | |
| **Pro Code Playground** is an interactive Python code editor and runner, with built-in AI code assistant, powered by [Streamlit](https://streamlit.io/). | |
| It features a live code editor, stdin simulation, and theme support for light and dark modes. | |
| --- | |
| ### π Features | |
| - π§ AI Assistant (LLaMA-3 via Groq) | |
| - π Live Python code editor (via `streamlit_ace`) | |
| - π§ͺ Simulate input with `stdin` | |
| - π Theme toggle (light/dark) | |
| - π¬ Scrollable, memory-aware chatbot | |
| - π¨ Custom dynamic styling with CSS injection | |
| - π (Optional) Text-to-speech via Edge TTS | |
| --- | |
| ### π οΈ Tech Stack | |
| - `Streamlit` + `streamlit_ace` | |
| - `LangChain`, `Groq`, `LLaMA 3` | |
| - `Edge TTS` (optional) | |
| - Fully modular structure (`app.py`, `layout.py`, `style.py`, `chatbot.py`) | |
| --- | |
| ### π§ Configuration | |
| - Toggle light/dark mode with emoji switch βοΈ / π | |
| - Customize themes easily via `layout.py` | |
| - Built to run inside Hugging Face Spaces or locally | |
| --- | |
| ### π§ Powered by | |
| - **LLM**: LLaMA 3β70B (via [Groq API](https://console.groq.com/)) | |
| - **LangChain**: Prompt templates & memory | |
| - **Hugging Face Spaces**: Host and deploy | |
| --- | |
| ### π§ͺ Try It Live | |
| This app is live on [π€ Hugging Face Spaces](https://huggingface.co/spaces/vsj0702/Code_editor) β just run it in your browser, no setup needed. | |
| --- |