Gopi9177 commited on
Commit
b3a1409
Β·
verified Β·
1 Parent(s): a168718

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +46 -53
app.py CHANGED
@@ -1,61 +1,54 @@
1
  import streamlit as st
2
 
3
- # Sidebar Navigation
4
- st.sidebar.title("Navigation")
5
- page = st.sidebar.radio("Go to", ["Home", "About Me", "Contact"])
6
 
7
- if page == "Home":
8
- st.title("πŸš€ Welcome to the NLP Application!")
9
- st.subheader("🌍 Introduction to Natural Language Processing (NLP)")
10
-
11
- with st.expander("What is NLP? πŸ€–"):
12
- st.write("""
13
- **Natural Language Processing (NLP)** is a field at the intersection of **Artificial Intelligence** and **Linguistics**.
14
- It enables machines to understand, interpret, and generate human language. From **speech recognition** to **text summarization** and **machine translation**, NLP is a game changer in technology.
15
- """)
16
-
17
- st.subheader("πŸ”‘ Key NLP Tasks")
18
- tasks = [
19
- "Text Classification: Assigning predefined labels to text (e.g., spam detection).",
20
- "Named Entity Recognition (NER): Identifying entities like names, dates, locations, etc.",
21
- "Sentiment Analysis: Determining the sentiment (positive, negative, neutral) of text.",
22
- "Part-of-Speech (POS) Tagging: Identifying the grammatical components (e.g., noun, verb).",
23
- "Machine Translation: Translating text from one language to another.",
24
- "Text Generation: Creating meaningful text based on input."
25
- ]
26
-
27
- for task in tasks:
28
- st.write(f"βœ… {task}")
29
-
30
- st.subheader("πŸ’‘ Why is NLP Important?")
31
- st.write(
32
- "With vast amounts of unstructured textual data online, NLP helps extract insights, automate tasks, and provide personalized services. From chatbots to recommendation systems and search engines, NLP is reshaping human-computer interactions."
33
- )
34
-
35
- elif page == "About Me":
36
- st.title("πŸ‘€ About the Creator")
37
  st.write("""
38
- **Hi there! πŸ‘‹ I'm Gopi Krishna Venigandla**, an **AI enthusiast** and **Data Science professional**.
39
- With a background in **Machine Learning**, I specialize in:
40
  """)
41
-
42
- with st.expander("πŸ› οΈ My Skills"):
43
- skills = {
44
- "Programming": "Python, R, SQL",
45
- "Data Visualization": "Tableau, Power BI, Matplotlib",
46
- "Machine Learning": "Scikit-Learn"
47
- }
48
-
49
- for category, skillset in skills.items():
50
- st.write(f"**{category}**: {skillset}")
51
-
52
- elif page == "Contact":
53
- st.title("πŸ“¬ Connect with Me")
54
-
55
- st.write("[LinkedIn](https://www.linkedin.com/in/gopi-krishna-aa8641308/)")
56
- st.write("πŸ“§ Email: [[email protected]](mailto:[email protected])")
57
- st.write("πŸ“ž Contact: 8309183669")
58
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
59
  # Footer Section
60
  st.markdown("""
61
  ---
 
1
  import streamlit as st
2
 
3
+ # Set the title and header for the application
4
+ st.title("πŸš€ Welcome to the NLP Application!")
 
5
 
6
+ st.subheader("🌍 Introduction to Natural Language Processing (NLP)")
7
+ with st.expander("What is NLP? πŸ€–"):
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
8
  st.write("""
9
+ **Natural Language Processing (NLP)** is a field at the intersection of **Artificial Intelligence** and **Linguistics**.
10
+ It enables machines to understand, interpret, and generate human language. From **speech recognition** to **text summarization** and **machine translation**, NLP is a game changer in technology.
11
  """)
12
+
13
+ st.subheader("πŸ”‘ Key NLP Tasks")
14
+ tasks = [
15
+ "Text Classification: Assigning predefined labels to text (e.g., spam detection).",
16
+ "Named Entity Recognition (NER): Identifying entities like names, dates, locations, etc.",
17
+ "Sentiment Analysis: Determining the sentiment (positive, negative, neutral) of text.",
18
+ "Part-of-Speech (POS) Tagging: Identifying the grammatical components (e.g., noun, verb).",
19
+ "Machine Translation: Translating text from one language to another.",
20
+ "Text Generation: Creating meaningful text based on input."
21
+ ]
22
+
23
+ for task in tasks:
24
+ st.write(f"βœ… {task}")
25
+
26
+ st.subheader("πŸ’‘ Why is NLP Important?")
27
+ st.write(
28
+ "With vast amounts of unstructured textual data online, NLP helps extract insights, automate tasks, and provide personalized services. From chatbots to recommendation systems and search engines, NLP is reshaping human-computer interactions."
29
+ )
30
+
31
+ st.title("πŸ‘€ About the Creator")
32
+ st.write("""
33
+ **Hi there! πŸ‘‹ I'm Gopi Krishna Venigandla**, an **AI enthusiast** and **Data Science professional**.
34
+ With a background in **Machine Learning**, I specialize in:
35
+ """)
36
+
37
+ with st.expander("πŸ› οΈ My Skills"):
38
+ skills = {
39
+ "Programming": "Python, R, SQL",
40
+ "Data Visualization": "Tableau, Power BI, Matplotlib",
41
+ "Machine Learning": "Scikit-Learn"
42
+ }
43
+
44
+ for category, skillset in skills.items():
45
+ st.write(f"**{category}**: {skillset}")
46
+
47
+ st.title("πŸ“¬ Connect with Me")
48
+ st.write("[LinkedIn](https://www.linkedin.com/in/gopi-krishna-aa8641308/)")
49
+ st.write("πŸ“§ Email: [[email protected]](mailto:[email protected])")
50
+ st.write("πŸ“ž Contact: 8309183669")
51
+
52
  # Footer Section
53
  st.markdown("""
54
  ---