Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,10 +1,9 @@
|
|
| 1 |
from backend import predict
|
| 2 |
import streamlit as st
|
| 3 |
|
| 4 |
-
|
| 5 |
st.title("Classify Sentiment")
|
| 6 |
-
|
| 7 |
-
text= st.text_area()
|
| 8 |
|
| 9 |
if(text):
|
| 10 |
prediction= predict(text)
|
|
|
|
| 1 |
from backend import predict
|
| 2 |
import streamlit as st
|
| 3 |
|
|
|
|
| 4 |
st.title("Classify Sentiment")
|
| 5 |
+
|
| 6 |
+
text= st.text_area("Enter your text")
|
| 7 |
|
| 8 |
if(text):
|
| 9 |
prediction= predict(text)
|