Spaces:
Runtime error
Runtime error
Create beginner.py
Browse files- modules/beginner.py +13 -0
modules/beginner.py
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import gradio as gr
|
| 2 |
+
import json
|
| 3 |
+
from utils.helpers import load_content, check_spelling, check_translation, get_random_exercise
|
| 4 |
+
|
| 5 |
+
def beginner_component():
|
| 6 |
+
content = load_content()
|
| 7 |
+
|
| 8 |
+
with gr.Tabs() as tabs:
|
| 9 |
+
# Move all beginner-level components here (Grade 1-4)
|
| 10 |
+
# Include vocabulary, grammar, reading, and exercises for beginner level
|
| 11 |
+
pass
|
| 12 |
+
|
| 13 |
+
return tabs
|