Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -46,13 +46,13 @@ st.header("Review Analyzer")
|
|
46 |
#if action == "Analyse a Review":
|
47 |
st.subheader("Paste/write a review here..")
|
48 |
review = st.text_area("")
|
49 |
-
start_sentiment_analysis = st.button("Get the Sentiment of the Review")
|
50 |
-
start_summarizing = st.button("Summarize the review")
|
51 |
-
start_topic_extraction = st.button("Find the key topic")
|
52 |
|
53 |
if review:
|
54 |
-
|
55 |
-
|
|
|
|
|
|
|
56 |
if start_sentiment_analysis:
|
57 |
sentiment = get_sentiment(review)
|
58 |
st.write(sentiment)
|
|
|
46 |
#if action == "Analyse a Review":
|
47 |
st.subheader("Paste/write a review here..")
|
48 |
review = st.text_area("")
|
|
|
|
|
|
|
49 |
|
50 |
if review:
|
51 |
+
|
52 |
+
start_sentiment_analysis = st.button("Get the Sentiment of the Review")
|
53 |
+
start_summarizing = st.button("Summarize the review")
|
54 |
+
start_topic_extraction = st.button("Find the key topic")
|
55 |
+
|
56 |
if start_sentiment_analysis:
|
57 |
sentiment = get_sentiment(review)
|
58 |
st.write(sentiment)
|