Anjana-S commited on
Commit
d9c1fbf
·
1 Parent(s): 45a0d90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -36,9 +36,9 @@ task = st.radio("Select Task", ("Sentiment Classification", "Tumor Detection"))
36
 
37
  if task == "Sentiment Classification":
38
  # Input box for new review
39
- new_review_text = st.text_area("Enter the Message:", value="")
40
  if st.button("Submit") and not new_review_text.strip():
41
- st.warning("Please enter a message.")
42
 
43
  if new_review_text.strip():
44
  st.subheader("Choose Model for Sentiment Classification")
 
36
 
37
  if task == "Sentiment Classification":
38
  # Input box for new review
39
+ new_review_text = st.text_area("Enter Review:", value="")
40
  if st.button("Submit") and not new_review_text.strip():
41
+ st.warning("Please enter a review.")
42
 
43
  if new_review_text.strip():
44
  st.subheader("Choose Model for Sentiment Classification")