rabindra-sss commited on
Commit
13cb401
·
verified ·
1 Parent(s): 912d740

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -2,9 +2,11 @@ from backend import predict
2
  import streamlit as st
3
 
4
 
5
- st.title= "Enter Your Text"
6
- text= st.text_area('enter your text')
 
7
 
8
  if(text):
9
  prediction= predict(text)
 
10
  st.json({"sentiment": prediction})
 
2
  import streamlit as st
3
 
4
 
5
+ st.title("Classify Sentiment")
6
+ st.subheader("Enter your text")
7
+ text= st.text_area()
8
 
9
  if(text):
10
  prediction= predict(text)
11
+ st.header(prediction)
12
  st.json({"sentiment": prediction})