Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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
|
| 40 |
if st.button("Submit") and not new_review_text.strip():
|
| 41 |
-
st.warning("Please enter a
|
| 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")
|