Update app.py
Browse files
app.py
CHANGED
@@ -1,4 +1,12 @@
|
|
1 |
# app.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
import os
|
3 |
os.environ['TF_ENABLE_ONEDNN_OPTS'] = '0'
|
4 |
os.environ['KMP_DUPLICATE_LIB_OK']='TRUE'
|
@@ -11,13 +19,6 @@ from transformers import BlenderbotTokenizer, BlenderbotForConditionalGeneration
|
|
11 |
import pymssql
|
12 |
from azure.identity import DefaultAzureCredential
|
13 |
|
14 |
-
# Configure the page to use the full width
|
15 |
-
st.set_page_config(
|
16 |
-
page_title="AIdeaText",
|
17 |
-
layout="wide",
|
18 |
-
page_icon="random"
|
19 |
-
)
|
20 |
-
|
21 |
from modules.auth import register_user, authenticate_user, get_user_role
|
22 |
from modules.morpho_analysis import get_repeated_words_colors, highlight_repeated_words, POS_COLORS, POS_TRANSLATIONS
|
23 |
from modules.syntax_analysis import visualize_syntax
|
|
|
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'
|
|
|
19 |
import pymssql
|
20 |
from azure.identity import DefaultAzureCredential
|
21 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
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
|