Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -86,6 +86,8 @@ submit_button = st.button("Generate music")
|
|
86 |
|
87 |
# Processing and Displaying Results
|
88 |
if submit_button and user_input.strip():
|
|
|
|
|
89 |
sentiment_label, sentiment_score = sentiment_analyzer.analyze_sentiment(user_input)
|
90 |
st.write(f"Sentiment: {sentiment_label}, Score: {sentiment_score:.2f}")
|
91 |
|
|
|
86 |
|
87 |
# Processing and Displaying Results
|
88 |
if submit_button and user_input.strip():
|
89 |
+
|
90 |
+
# Run sentiment analysis on the user input
|
91 |
sentiment_label, sentiment_score = sentiment_analyzer.analyze_sentiment(user_input)
|
92 |
st.write(f"Sentiment: {sentiment_label}, Score: {sentiment_score:.2f}")
|
93 |
|