Spaces:
Running
Running
Update song_matching.py
Browse files- song_matching.py +1 -1
song_matching.py
CHANGED
@@ -11,7 +11,7 @@ class SongMatcher:
|
|
11 |
self.songs_df = pd.read_csv(songs_data_file)
|
12 |
self.sim_model = SentenceTransformer(model_name)
|
13 |
|
14 |
-
def match_songs_with_sentiment(user_sentiment_label, user_sentiment_score, user_input, score_range):
|
15 |
|
16 |
# New: Define inputVector here
|
17 |
inputVector = self.sim_model.encode(user_input)
|
|
|
11 |
self.songs_df = pd.read_csv(songs_data_file)
|
12 |
self.sim_model = SentenceTransformer(model_name)
|
13 |
|
14 |
+
def match_songs_with_sentiment(self, user_sentiment_label, user_sentiment_score, user_input, score_range):
|
15 |
|
16 |
# New: Define inputVector here
|
17 |
inputVector = self.sim_model.encode(user_input)
|