Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -6,6 +6,7 @@ from modules.phonics import phonics_component
|
|
6 |
from modules.beginner import beginner_component
|
7 |
from modules.intermediate import intermediate_component
|
8 |
from modules.advanced import advanced_component
|
|
|
9 |
|
10 |
# Initialize data
|
11 |
DATA_DIR = "data"
|
@@ -185,6 +186,8 @@ with gr.Blocks(title="Learn Afrikaans") as app:
|
|
185 |
gr.Markdown("An interactive app to learn Afrikaans language")
|
186 |
|
187 |
with gr.Tabs() as tabs:
|
|
|
|
|
188 |
with gr.Tab("Phonics"):
|
189 |
phonics_component()
|
190 |
with gr.Tab("Beginner"):
|
|
|
6 |
from modules.beginner import beginner_component
|
7 |
from modules.intermediate import intermediate_component
|
8 |
from modules.advanced import advanced_component
|
9 |
+
from modules.translator import translator_component
|
10 |
|
11 |
# Initialize data
|
12 |
DATA_DIR = "data"
|
|
|
186 |
gr.Markdown("An interactive app to learn Afrikaans language")
|
187 |
|
188 |
with gr.Tabs() as tabs:
|
189 |
+
with gr.Tab("Translator"):
|
190 |
+
translator_component()
|
191 |
with gr.Tab("Phonics"):
|
192 |
phonics_component()
|
193 |
with gr.Tab("Beginner"):
|