PaulinaLamberg commited on
Commit
1ef3325
·
verified ·
1 Parent(s): 534738c

Update README

Browse files
Files changed (1) hide show
  1. README.md +25 -16
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 AI-powered math tutor built with Gradio and SymPy.
17
- It helps users understand mathematical expressions step-by-step, using natural language and intuitive feedback.
18
 
19
  ## Features
20
  - Step-by-step explanations for math expressions
21
  - Beginner, Intermediate, and Advanced levels
22
- - Powered by SymPy, Transformers, and PyTorch
23
- - Clean, responsive UI with soft visual rhythm
 
 
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
- ## UI
41
- - styled using `gr.HTML()` with embedded CSS
 
 
 
 
 
 
 
 
 
42
  - `.gradio-container` to add color to the background
43
- - focuses on clarity, calmness and visual harmony
44
-
45
- ## Button functionality
46
- - `Explain` button and `Enter` key triggers the explanation
47
- - `Reset` button clears input and output areas
48
- - Buttons styled with hover and focus effects
49
- - Buttons lighten slightly on hover for visual feedback
50
- - On click, they shrink and darken briefly to indicate activation
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)