Update app.py
Browse files
app.py
CHANGED
@@ -1,12 +1,5 @@
|
|
1 |
# app.py
|
2 |
|
3 |
-
# Configure the page to use the full width
|
4 |
-
st.set_page_config(
|
5 |
-
page_title="AIdeaText",
|
6 |
-
layout="wide",
|
7 |
-
page_icon="random"
|
8 |
-
)
|
9 |
-
|
10 |
import os
|
11 |
os.environ['TF_ENABLE_ONEDNN_OPTS'] = '0'
|
12 |
os.environ['KMP_DUPLICATE_LIB_OK']='TRUE'
|
@@ -23,6 +16,13 @@ from modules.auth import register_user, authenticate_user, get_user_role
|
|
23 |
from modules.morpho_analysis import get_repeated_words_colors, highlight_repeated_words, POS_COLORS, POS_TRANSLATIONS
|
24 |
from modules.syntax_analysis import visualize_syntax
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
@st.cache_resource
|
27 |
def get_db_connection():
|
28 |
server = 'aideatexdb.database.windows.net'
|
|
|
1 |
# app.py
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
import os
|
4 |
os.environ['TF_ENABLE_ONEDNN_OPTS'] = '0'
|
5 |
os.environ['KMP_DUPLICATE_LIB_OK']='TRUE'
|
|
|
16 |
from modules.morpho_analysis import get_repeated_words_colors, highlight_repeated_words, POS_COLORS, POS_TRANSLATIONS
|
17 |
from modules.syntax_analysis import visualize_syntax
|
18 |
|
19 |
+
# Configure the page to use the full width
|
20 |
+
st.set_page_config(
|
21 |
+
page_title="AIdeaText",
|
22 |
+
layout="wide",
|
23 |
+
page_icon="random"
|
24 |
+
)
|
25 |
+
|
26 |
@st.cache_resource
|
27 |
def get_db_connection():
|
28 |
server = 'aideatexdb.database.windows.net'
|