IshmamF commited on
Commit
c669135
1 Parent(s): b851ff8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
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