Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -52,7 +52,7 @@ if action == "Analyse a Review":
|
|
52 |
if review:
|
53 |
#res = text_generator( prompt, max_length=100, temperature=0.7)
|
54 |
#st.write(res)
|
55 |
-
if st.button("
|
56 |
sentiment = get_sentiment(review)
|
57 |
st.write(sentiment)
|
58 |
|
|
|
52 |
if review:
|
53 |
#res = text_generator( prompt, max_length=100, temperature=0.7)
|
54 |
#st.write(res)
|
55 |
+
if st.button("Get the Sentiment of the Review"):
|
56 |
sentiment = get_sentiment(review)
|
57 |
st.write(sentiment)
|
58 |
|