Update modules/ui.py
Browse files- modules/ui.py +3 -0
modules/ui.py
CHANGED
|
@@ -3,6 +3,9 @@
|
|
| 3 |
import streamlit as st
|
| 4 |
from spacy import displacy
|
| 5 |
import re
|
|
|
|
|
|
|
|
|
|
| 6 |
|
| 7 |
# Importaciones locales
|
| 8 |
from .auth import authenticate_user, register_user, get_user_role
|
|
|
|
| 3 |
import streamlit as st
|
| 4 |
from spacy import displacy
|
| 5 |
import re
|
| 6 |
+
import matplotlib.pyplot as plt
|
| 7 |
+
import matplotlib
|
| 8 |
+
matplotlib.use('Agg')
|
| 9 |
|
| 10 |
# Importaciones locales
|
| 11 |
from .auth import authenticate_user, register_user, get_user_role
|