--- 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. ---