Sasidhar commited on
Commit
62eea5b
1 Parent(s): c50246f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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
- #res = text_generator( prompt, max_length=100, temperature=0.7)
55
- #st.write(res)
 
 
 
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)