Archisman Karmakar
commited on
Commit
·
c8e1a23
1
Parent(s):
9432e38
Update dashboard.py
Browse files- dashboard.py +15 -7
dashboard.py
CHANGED
@@ -1,13 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
import os
|
2 |
import sys
|
3 |
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), )))
|
4 |
|
5 |
-
import streamlit as st
|
6 |
-
from transformers.utils.hub import TRANSFORMERS_CACHE
|
7 |
-
import shutil
|
8 |
-
import torch
|
9 |
-
import psutil
|
10 |
-
import gc
|
11 |
|
12 |
def free_memory():
|
13 |
# """Free up CPU & GPU memory before loading a new model."""
|
@@ -76,6 +76,7 @@ def create_footer():
|
|
76 |
|
77 |
# 🚀 Display Footer
|
78 |
|
|
|
79 |
def show_dashboard():
|
80 |
# free_memory()
|
81 |
st.title("Tachygraphy Micro-text Analysis & Normalization")
|
@@ -86,8 +87,15 @@ def show_dashboard():
|
|
86 |
3. Text Transformation & Normalization
|
87 |
""")
|
88 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
89 |
create_footer()
|
90 |
|
91 |
|
92 |
def __main__():
|
93 |
-
show_dashboard()
|
|
|
1 |
+
import gc
|
2 |
+
import psutil
|
3 |
+
import torch
|
4 |
+
import shutil
|
5 |
+
from transformers.utils.hub import TRANSFORMERS_CACHE
|
6 |
+
import streamlit as st
|
7 |
import os
|
8 |
import sys
|
9 |
sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), )))
|
10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
|
12 |
def free_memory():
|
13 |
# """Free up CPU & GPU memory before loading a new model."""
|
|
|
76 |
|
77 |
# 🚀 Display Footer
|
78 |
|
79 |
+
|
80 |
def show_dashboard():
|
81 |
# free_memory()
|
82 |
st.title("Tachygraphy Micro-text Analysis & Normalization")
|
|
|
87 |
3. Text Transformation & Normalization
|
88 |
""")
|
89 |
|
90 |
+
st.write("""
|
91 |
+
Training Source GitHub Repository: [GitHub @ Tachygraphy Micro-text Analysis & Normalization](https://github.com/ArchismanKarmakar/Tachygraphy-Microtext-Analysis-And-Normalization)
|
92 |
+
Kaggle Collections: [Kaggle @ Tachygraphy Micro-text Analysis & Normalization](https://www.kaggle.com/datasets/archismancoder/dataset-tachygraphy/data?select=Tachygraphy_MicroText-AIO-V3.xlsx)
|
93 |
+
Hugging Face Org: [Hugging Face @ Tachygraphy Micro-text Analysis & Normalization](https://huggingface.co/tachygraphy-microtrext-norm-org)
|
94 |
+
Deployment: [Streamlit + Hugging Face @ GitHub](https://github.com/ArchismanKarmakar/Tachygraphy-Microtext-Analysis-And-Normalization-Deployment-Source-HuggingFace_Streamlit_JPX14032025)
|
95 |
+
""")
|
96 |
+
|
97 |
create_footer()
|
98 |
|
99 |
|
100 |
def __main__():
|
101 |
+
show_dashboard()
|