Spaces:
Sleeping
Sleeping
ksvmuralidhar
commited on
Commit
•
3d97360
1
Parent(s):
81148a0
Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,8 @@ def inference(text):
|
|
40 |
|
41 |
def main():
|
42 |
st.title("Sentiment Analysis")
|
43 |
-
|
|
|
44 |
if st.button("Submit"):
|
45 |
result = inference(review)
|
46 |
if result.find("positive") >=0 :
|
|
|
40 |
|
41 |
def main():
|
42 |
st.title("Sentiment Analysis")
|
43 |
+
st.write("This model is trained on Amazon reviews dataset.")
|
44 |
+
review = st.text_area("Enter a product review:", "", height=200)
|
45 |
if st.button("Submit"):
|
46 |
result = inference(review)
|
47 |
if result.find("positive") >=0 :
|