Update modules/ui.py
Browse files- modules/ui.py +8 -2
modules/ui.py
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
|
|
| 1 |
import streamlit as st
|
| 2 |
from streamlit_player import st_player # Necesitar谩s instalar esta librer铆a: pip install streamlit-player
|
| 3 |
import matplotlib.pyplot as plt
|
|
@@ -6,11 +7,16 @@ import io
|
|
| 6 |
import base64
|
| 7 |
from spacy import displacy
|
| 8 |
import re
|
| 9 |
-
|
|
|
|
|
|
|
| 10 |
from .auth import authenticate_user, register_user, get_user_role
|
| 11 |
from .database import get_student_data, store_morphosyntax_result, store_semantic_result
|
| 12 |
-
|
|
|
|
|
|
|
| 13 |
from .syntax_analysis import visualize_syntax
|
|
|
|
| 14 |
|
| 15 |
##################################################################################################
|
| 16 |
def login_register_page():
|
|
|
|
| 1 |
+
#Importaciones generales
|
| 2 |
import streamlit as st
|
| 3 |
from streamlit_player import st_player # Necesitar谩s instalar esta librer铆a: pip install streamlit-player
|
| 4 |
import matplotlib.pyplot as plt
|
|
|
|
| 7 |
import base64
|
| 8 |
from spacy import displacy
|
| 9 |
import re
|
| 10 |
+
|
| 11 |
+
#Importaciones locales
|
| 12 |
+
#Importaciones locales de autenticaci贸n y base de datos
|
| 13 |
from .auth import authenticate_user, register_user, get_user_role
|
| 14 |
from .database import get_student_data, store_morphosyntax_result, store_semantic_result
|
| 15 |
+
|
| 16 |
+
#Importacoines locales funciones de an谩lisis
|
| 17 |
+
from .morpho_analysis import get_repeated_words_colors, highlight_repeated_words, POS_COLORS, POS_TRANSLATIONS
|
| 18 |
from .syntax_analysis import visualize_syntax
|
| 19 |
+
#from .discourse_analysis import discourse_graph
|
| 20 |
|
| 21 |
##################################################################################################
|
| 22 |
def login_register_page():
|