Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -99,7 +99,7 @@ st.markdown("""
|
|
99 |
""", unsafe_allow_html=True)
|
100 |
|
101 |
|
102 |
-
image_path = '
|
103 |
|
104 |
st.image(image_path, use_column_width=False, width=250) # Adjust the width as needed
|
105 |
# Custom gradient background using CSS
|
@@ -155,7 +155,7 @@ if submit_button and len(user_input.split()) > 5:
|
|
155 |
st.write(f"Sentiment: {sentiment_label}, Score: {sentiment_score:.2f}")
|
156 |
|
157 |
# Load songs dataframe
|
158 |
-
songs_df = pd.read_csv('
|
159 |
|
160 |
# Suggest songs
|
161 |
suggested_songs = match_songs_with_sentiment(sentiment_label, sentiment_score, inputVector, 0.00625, songs_df)
|
|
|
99 |
""", unsafe_allow_html=True)
|
100 |
|
101 |
|
102 |
+
image_path = './MODUSMUSIC.png' # Replace with the actual path to your image
|
103 |
|
104 |
st.image(image_path, use_column_width=False, width=250) # Adjust the width as needed
|
105 |
# Custom gradient background using CSS
|
|
|
155 |
st.write(f"Sentiment: {sentiment_label}, Score: {sentiment_score:.2f}")
|
156 |
|
157 |
# Load songs dataframe
|
158 |
+
songs_df = pd.read_csv('./music_mental_health.csv')
|
159 |
|
160 |
# Suggest songs
|
161 |
suggested_songs = match_songs_with_sentiment(sentiment_label, sentiment_score, inputVector, 0.00625, songs_df)
|