Update modules/ui/ui.py
Browse files- modules/ui/ui.py +6 -0
modules/ui/ui.py
CHANGED
@@ -309,6 +309,12 @@ def user_page(lang_code, t):
|
|
309 |
t.get('TRANSLATIONS', {})
|
310 |
)
|
311 |
elif index == 2:
|
|
|
|
|
|
|
|
|
|
|
|
|
312 |
if st.session_state.user_data:
|
313 |
display_student_progress(
|
314 |
st.session_state.username,
|
|
|
309 |
t.get('TRANSLATIONS', {})
|
310 |
)
|
311 |
elif index == 2:
|
312 |
+
display_discourse_interface(
|
313 |
+
st.session_state.lang_code,
|
314 |
+
st.session_state.nlp_models,
|
315 |
+
t.get('TRANSLATIONS', {})
|
316 |
+
)
|
317 |
+
elif index == 3:
|
318 |
if st.session_state.user_data:
|
319 |
display_student_progress(
|
320 |
st.session_state.username,
|