Update app.py
Browse files
app.py
CHANGED
@@ -5,6 +5,14 @@ os.environ['TF_ENABLE_ONEDNN_OPTS'] = '0'
|
|
5 |
os.environ['KMP_DUPLICATE_LIB_OK']='TRUE'
|
6 |
|
7 |
import streamlit as st
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
import spacy
|
9 |
from spacy import displacy
|
10 |
import re
|
@@ -36,9 +44,6 @@ def load_spacy_model():
|
|
36 |
# Load spaCy model
|
37 |
nlp = spacy.load("es_core_news_lg")
|
38 |
|
39 |
-
# Configure the page to use the full width
|
40 |
-
st.set_page_config(layout="wide", page_title="AIdeaText")
|
41 |
-
|
42 |
st.markdown("### AIdeaText - Advanced Text Analysis Tool")
|
43 |
|
44 |
# First horizontal band: Text Input
|
|
|
5 |
os.environ['KMP_DUPLICATE_LIB_OK']='TRUE'
|
6 |
|
7 |
import streamlit as st
|
8 |
+
|
9 |
+
# Configure the page to use the full width
|
10 |
+
st.set_page_config(
|
11 |
+
page_title="AIdeaText",
|
12 |
+
layout="wide",
|
13 |
+
page_icon="random"
|
14 |
+
)
|
15 |
+
|
16 |
import spacy
|
17 |
from spacy import displacy
|
18 |
import re
|
|
|
44 |
# Load spaCy model
|
45 |
nlp = spacy.load("es_core_news_lg")
|
46 |
|
|
|
|
|
|
|
47 |
st.markdown("### AIdeaText - Advanced Text Analysis Tool")
|
48 |
|
49 |
# First horizontal band: Text Input
|