Update modules/ui.py
Browse files- modules/ui.py +7 -4
modules/ui.py
CHANGED
@@ -1,14 +1,17 @@
|
|
1 |
# modules/ui.py
|
2 |
# Importaciones estandar de python
|
3 |
import streamlit as st
|
|
|
|
|
|
|
|
|
|
|
4 |
from datetime import datetime
|
|
|
5 |
from spacy import displacy
|
6 |
import re
|
7 |
-
import base64
|
8 |
from .morpho_analysis import POS_TRANSLATIONS # Aseg煤rate de que esta importaci贸n est茅 presente
|
9 |
-
|
10 |
-
import matplotlib
|
11 |
-
matplotlib.use('Agg')
|
12 |
|
13 |
# Importaciones locales
|
14 |
from .auth import authenticate_user, register_user, get_user_role
|
|
|
1 |
# modules/ui.py
|
2 |
# Importaciones estandar de python
|
3 |
import streamlit as st
|
4 |
+
import matplotlib.pyplot as plt
|
5 |
+
import matplotlib
|
6 |
+
matplotlib.use('Agg')
|
7 |
+
import squarify
|
8 |
+
import pandas as pd
|
9 |
from datetime import datetime
|
10 |
+
import base64
|
11 |
from spacy import displacy
|
12 |
import re
|
|
|
13 |
from .morpho_analysis import POS_TRANSLATIONS # Aseg煤rate de que esta importaci贸n est茅 presente
|
14 |
+
from .morpho_analysis import POS_COLORS # Aseg煤rate de que esta importaci贸n est茅 presente
|
|
|
|
|
15 |
|
16 |
# Importaciones locales
|
17 |
from .auth import authenticate_user, register_user, get_user_role
|