SuchithTissera commited on
Commit
0cbf0f3
·
verified ·
1 Parent(s): 8e69e12

Update streamlit_app.py

Browse files
Files changed (1) hide show
  1. streamlit_app.py +2 -5
streamlit_app.py CHANGED
@@ -22,7 +22,7 @@ st.write("""
22
  - Key-Word recognition
23
  """)
24
 
25
- st.write("In order to test the classification of the model quickly, type a text below:")
26
 
27
  @st.cache_resource
28
  def load_classifier():
@@ -34,10 +34,7 @@ def load_classifier():
34
 
35
  classifier = load_classifier()
36
 
37
- st.title("News Classifier")
38
-
39
- st.subheader("Classify a single sentence")
40
- user_text = st.text_area("Type a sentence or article snippet here")
41
 
42
  if st.button("Classify Text"):
43
  if not user_text.strip():
 
22
  - Key-Word recognition
23
  """)
24
 
25
+ st.write("In order to test the classification of the model quickly,")
26
 
27
  @st.cache_resource
28
  def load_classifier():
 
34
 
35
  classifier = load_classifier()
36
 
37
+ user_text = st.text_area("Type a sentence below:")
 
 
 
38
 
39
  if st.button("Classify Text"):
40
  if not user_text.strip():