File size: 621 Bytes
ce63d75
 
 
 
 
 
 
 
 
 
1ae9f74
ce63d75
1ae9f74
ce63d75
1ae9f74
ce63d75
 
8807690
ce63d75
8807690
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
title: Code Explainer 💡
emoji: 🧠
colorFrom: indigo
colorTo: purple
sdk: streamlit
sdk_version: "1.35.0"
app_file: streamlit_app.py
pinned: false
---

# 🧠 Code Explainer – Explain Any Python Code in Plain English

This Streamlit app uses the `bigcode/starcoder` model to generate step-by-step explanations for Python code snippets.

## 🚀 Live Demo
Paste Python code in the text box and get a natural language explanation generated by an AI model trained on billions of lines of code.

### ✨ Example
```python
def fibonacci(n):
    if n <= 1:
        return n
    return fibonacci(n-1) + fibonacci(n-2)