Spaces:
Sleeping
Sleeping
Sudhanshu976
commited on
Commit
β’
bf32186
1
Parent(s):
20b5e18
first commit
Browse files- 1_π _HOME.py +73 -0
- requirements.txt +13 -0
1_π _HOME.py
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import streamlit as st
|
2 |
+
import requests
|
3 |
+
from PIL import Image
|
4 |
+
from streamlit_lottie import st_lottie
|
5 |
+
|
6 |
+
|
7 |
+
st.set_page_config(
|
8 |
+
page_title="NLP WEB APP"
|
9 |
+
)
|
10 |
+
|
11 |
+
#---------------------LOTTIE ANIMATION ------------------------
|
12 |
+
def load_lottie(url):
|
13 |
+
r = requests.get(url)
|
14 |
+
if r.status_code!=200:
|
15 |
+
return None
|
16 |
+
return r.json()
|
17 |
+
|
18 |
+
lottie_coding = load_lottie("https://lottie.host/e0a6d7e0-6b3d-428f-addc-aa44a746d653/MImt8ecbMs.json")
|
19 |
+
|
20 |
+
|
21 |
+
st.sidebar.success("Select a page above")
|
22 |
+
|
23 |
+
|
24 |
+
|
25 |
+
# -------------- HEADER ----------------------------
|
26 |
+
with st.container():
|
27 |
+
st.subheader("Hi , I am Sudhanshu :wave:")
|
28 |
+
st.title("A Data Scientist and NLP Engineer from INDIA")
|
29 |
+
st.write("I am passionate about finding ways to solve real life problems through my skills of ML , DL and NLP")
|
30 |
+
st.write("[Know more about me >> ](https://www.linkedin.com/in/sudhanshu-gusain-34271028a/)")
|
31 |
+
|
32 |
+
# --------------------WHAT I DO --------------------------
|
33 |
+
with st.container():
|
34 |
+
st.write("-----")
|
35 |
+
left_column ,center, right_column = st.columns(3)
|
36 |
+
with left_column:
|
37 |
+
st.header("MY SKILLS")
|
38 |
+
st.write("##")
|
39 |
+
st.write("""
|
40 |
+
π **Data Science Explorer**: Over the past year, I've dedicated myself to understanding and harnessing the power of data. I've translated my knowledge into tangible projects, gaining expertise in a wide range of skills, including:
|
41 |
+
|
42 |
+
- **Power BI**
|
43 |
+
- **Machine Learning**
|
44 |
+
- **Deep Learning**
|
45 |
+
- **NLP (Natural Language Processing)**
|
46 |
+
- **Flask**
|
47 |
+
- **SQL and Python**
|
48 |
+
- **Web Services**
|
49 |
+
|
50 |
+
""")
|
51 |
+
|
52 |
+
with center:
|
53 |
+
st.write("")
|
54 |
+
with right_column:
|
55 |
+
st.header("MY PROJECTS")
|
56 |
+
st.write("##")
|
57 |
+
st.write("""
|
58 |
+
##### 1. SMS-SPAM-CLASSIFIER USING ML
|
59 |
+
##### 2. LANGUAGE-DETECTOR USING ML
|
60 |
+
##### 3. SENTIMENT-ANALYZER USING BERT
|
61 |
+
##### 4. NEXT-WORD-PREDICTOR USING LSTM """)
|
62 |
+
|
63 |
+
with st.container():
|
64 |
+
st.write("--------------------------------------------------------------------------------------------------")
|
65 |
+
with st.container():
|
66 |
+
st_lottie(lottie_coding)
|
67 |
+
|
68 |
+
|
69 |
+
|
70 |
+
|
71 |
+
|
72 |
+
|
73 |
+
|
requirements.txt
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
torch
|
2 |
+
scikit-learn
|
3 |
+
transformers
|
4 |
+
sentencepiece
|
5 |
+
pandas
|
6 |
+
streamlit==1.8.0
|
7 |
+
streamlit-lottie
|
8 |
+
numpy
|
9 |
+
nltk
|
10 |
+
protobuf == 3.20.1
|
11 |
+
tensorflow
|
12 |
+
Pillow
|
13 |
+
vega==1.3
|