Spaces:
Sleeping
Sleeping
Update README
Browse files
README.md
CHANGED
|
@@ -13,14 +13,16 @@ short_description: AI tutor for math learners
|
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 14 |
|
| 15 |
## LearnLoop - AI Tutor for math 🔢💡
|
| 16 |
-
LearnLoop is a
|
| 17 |
-
It
|
| 18 |
|
| 19 |
## Features
|
| 20 |
- Step-by-step explanations for math expressions
|
| 21 |
- Beginner, Intermediate, and Advanced levels
|
| 22 |
-
-
|
| 23 |
-
-
|
|
|
|
|
|
|
| 24 |
|
| 25 |
|
| 26 |
## Getting started
|
|
@@ -37,16 +39,23 @@ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-
|
|
| 37 |
## Requirements
|
| 38 |
See `requirements.txt` for full list
|
| 39 |
|
| 40 |
-
##
|
| 41 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
- `.gradio-container` to add color to the background
|
| 43 |
-
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
-
|
| 48 |
-
-
|
| 49 |
-
-
|
| 50 |
-
-
|
| 51 |
-
- Microinteractions improve clarity and responsiveness
|
| 52 |
-
- Styled via CSS inside `gr.HTML()` blocks
|
|
|
|
| 13 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
| 14 |
|
| 15 |
## LearnLoop - AI Tutor for math 🔢💡
|
| 16 |
+
LearnLoop is a lightweight AI-powered math tutor built with Gradio, SymPy, and Transformers.
|
| 17 |
+
It explains mathematical questions at different skill levels and verifies expressions using symbolic computation.
|
| 18 |
|
| 19 |
## Features
|
| 20 |
- Step-by-step explanations for math expressions
|
| 21 |
- Beginner, Intermediate, and Advanced levels
|
| 22 |
+
- Automatic math verification using `SymPy`
|
| 23 |
+
- Powered by Qwen2.5-1.5B-Instruct
|
| 24 |
+
- Clean, responsive UI with soft visual rhythm and microinteractions
|
| 25 |
+
- Keyboard support
|
| 26 |
|
| 27 |
|
| 28 |
## Getting started
|
|
|
|
| 39 |
## Requirements
|
| 40 |
See `requirements.txt` for full list
|
| 41 |
|
| 42 |
+
## Explanation logic
|
| 43 |
+
- Uses Qwen2.5-1.5B-Instruct via HuggingFace Transformers
|
| 44 |
+
- Prompt includes:
|
| 45 |
+
- System messge to guide tone
|
| 46 |
+
- Dynamic style string based on level and step-by-step toggle
|
| 47 |
+
- User question
|
| 48 |
+
- Response is trimmed to remove artifacts
|
| 49 |
+
|
| 50 |
+
## UI Design
|
| 51 |
+
- Built with `gr.Blocks()`for modular layout
|
| 52 |
+
- Styled using embedded CSS via `gr.HTML()`
|
| 53 |
- `.gradio-container` to add color to the background
|
| 54 |
+
- Buttons styled with hover, focus and click effects
|
| 55 |
+
- Markdown used for instructions and output display
|
| 56 |
+
|
| 57 |
+
## Output format
|
| 58 |
+
- Explanation from the model
|
| 59 |
+
- Divider line
|
| 60 |
+
- `SymPy`verification result
|
| 61 |
+
- Status note (e.g. Transformers CPU)
|
|
|
|
|
|