IndicNLP commited on
Commit
6f31316
1 Parent(s): 23e1240
Files changed (1) hide show
  1. app.py +24 -17
app.py CHANGED
@@ -1,30 +1,37 @@
1
  import streamlit as st
2
 
3
  st.title("IndicNLP!")
4
-
5
  st.text("This is our Final Year Project,")
6
  st.text("Implementing various features of NLP i.e,")
7
  st.text("Natural Language Processing in Various Indic Languages.")
8
  st.text("To Begin with Hindi,")
9
  st.text("Here are Few Modules we have Implemented :-")
10
 
11
- st.header('Part-Of-Speech, PoS-Tagging :- ')
12
- pos_ip = st.text_input('Enter a Statement')
13
- pos_btn = st.button("Process")
14
- if pos_btn:
15
- st.error("work's in progress :construction:, Come again later :smiley:")
 
 
 
 
 
 
16
 
17
- st.header('Question & Answering :- ')
18
- text = st.text_area("Text to analyze")
19
- que_ip = st.text_input('Enter the question')
20
- qna_btn = st.button("Answer")
21
- if qna_btn:
22
- st.success("work's in progress :construction:, Come again later :smiley:")
 
23
 
24
- st.header('Grammar Correction :- ')
25
- grm_ip = st.text_input('Enter the Statement')
26
- grm_btn = st.button("Check Grammar")
27
- if grm_btn:
28
- st.write("work's in progress :construction:, Come again later :smiley:")
 
29
 
30
  st.caption('Thank you for Tuning in, Come back for more :heart:')
 
1
  import streamlit as st
2
 
3
  st.title("IndicNLP!")
 
4
  st.text("This is our Final Year Project,")
5
  st.text("Implementing various features of NLP i.e,")
6
  st.text("Natural Language Processing in Various Indic Languages.")
7
  st.text("To Begin with Hindi,")
8
  st.text("Here are Few Modules we have Implemented :-")
9
 
10
+ add_selectbox = st.sidebar.selectbox(
11
+ "Which Module would you like to try?",
12
+ ("Part-of-Speech Tagging", "Questiom & Answer", "Grammar Checking")
13
+ )
14
+
15
+ if add_selectbox == "Part-of-Speech Tagging" :
16
+ st.header('Part-Of-Speech, PoS-Tagging :- ')
17
+ pos_ip = st.text_input('Enter a Statement')
18
+ pos_btn = st.button("Process")
19
+ if pos_btn:
20
+ st.error("work's in progress :construction:, Come again later :smiley:")
21
 
22
+ if add_selectbox == "Questiom & Answer" :
23
+ st.header('Question & Answering :- ')
24
+ text = st.text_area("Text to analyze")
25
+ que_ip = st.text_input('Enter the question')
26
+ qna_btn = st.button("Answer")
27
+ if qna_btn:
28
+ st.success("work's in progress :construction:, Come again later :smiley:")
29
 
30
+ if add_selectbox == "Grammar Checking" :
31
+ st.header('Grammar Correction :- ')
32
+ grm_ip = st.text_input('Enter the Statement')
33
+ grm_btn = st.button("Check Grammar")
34
+ if grm_btn:
35
+ st.write("work's in progress :construction:, Come again later :smiley:")
36
 
37
  st.caption('Thank you for Tuning in, Come back for more :heart:')