mchockal commited on
Commit
f1b477a
1 Parent(s): 2b9bb06

Upload 11 files

Browse files
data/spotify_song_url_emotions.json ADDED
@@ -0,0 +1,647 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "song_name": "Cruel Summer",
4
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Cruel Summer\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1BxfuPKGuaTgP7aM0Bbdwr?utm_source=oembed\"></iframe>",
5
+ "emotions": "love, desire, longing, uncertainty, temptation, rebellion, frustration, joy"
6
+ },
7
+ {
8
+ "song_name": "I Can See You (Taylor\u2019s Version) (From The Vault)",
9
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: I Can See You (Taylor\u2019s Version) (From The Vault)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/5kHMfzgLZP95O9NBy0ku4v?utm_source=oembed\"></iframe>",
10
+ "emotions": "love, desire, curiosity, anticipation, secrecy, attraction, infatuation, longing"
11
+ },
12
+ {
13
+ "song_name": "Karma",
14
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Karma\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/7KokYm8cMIXCsGVmUvKtqf?utm_source=oembed\"></iframe>",
15
+ "emotions": "anger, betrayal, fear, satisfaction, envy, relaxation, love, trickery"
16
+ },
17
+ {
18
+ "song_name": "Blank Space",
19
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Blank Space\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1p80LdxRV74UKvL8gnD7ky?utm_source=oembed\"></iframe>",
20
+ "emotions": "excitement, curiosity, love, desire, mischief, danger, recklessness, insanity"
21
+ },
22
+ {
23
+ "song_name": "Anti-Hero",
24
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Anti-Hero\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0V3wPSX9ygBnCm8psDIegu?utm_source=oembed\"></iframe>",
25
+ "emotions": "sadness, loneliness, despair, frustration, self-doubt, introspection, longing, insecurity"
26
+ },
27
+ {
28
+ "song_name": "Love Story (Taylor\u2019s Version)",
29
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Love Story (Taylor\u2019s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/3CeCwYWvdfXbZLXFhBrbnf?utm_source=oembed\"></iframe>",
30
+ "emotions": "joy, sadness, nostalgia, love, longing, excitement, fear, anticipation"
31
+ },
32
+ {
33
+ "song_name": "Enchanted (Taylor's Version)",
34
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Enchanted (Taylor&apos;s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/3sW3oSbzsfecv9XoUdGs7h?utm_source=oembed\"></iframe>",
35
+ "emotions": "joy, loneliness, enchantment, wonder, spark, blush, love, anticipation"
36
+ },
37
+ {
38
+ "song_name": "Style",
39
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Style\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/4lIxdJw6W3Fg4vUIYCB0S5?utm_source=oembed\"></iframe>",
40
+ "emotions": "passion, nostalgia, longing, excitement, rebellion, seduction, vulnerability, confidence"
41
+ },
42
+ {
43
+ "song_name": "You Belong With Me (Taylor\u2019s Version)",
44
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: You Belong With Me (Taylor\u2019s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/4P7LVHDbzn7aI6wWRh5AHc?utm_source=oembed\"></iframe>",
45
+ "emotions": "joy, sadness, anger, love, excitement, nostalgia, loneliness, frustration"
46
+ },
47
+ {
48
+ "song_name": "Wildest Dreams (Taylor's Version)",
49
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Wildest Dreams (Taylor&apos;s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1Ov37jtRQ2YNAe8HzfczkL?utm_source=oembed\"></iframe>",
50
+ "emotions": "love, longing, desire, nostalgia, sadness, passion, yearning, hope"
51
+ },
52
+ {
53
+ "song_name": "Don\u2019t Blame Me",
54
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Don\u2019t Blame Me\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1R0a2iXumgCiFb7HEZ7gUE?utm_source=oembed\"></iframe>",
55
+ "emotions": "joy, love, obsession, addiction, desperation, longing, surrender, determination"
56
+ },
57
+ {
58
+ "song_name": "I Knew You Were Trouble (Taylor's Version)",
59
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: I Knew You Were Trouble (Taylor&apos;s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/6tNSmBKSjFV1366ASuULfZ?utm_source=oembed\"></iframe>",
60
+ "emotions": "happy, sad, angry, excited, nostalgic, calm, frustrated, hopeful"
61
+ },
62
+ {
63
+ "song_name": "Lavender Haze",
64
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Lavender Haze\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/5jQI2r1RdgtuT8S3iG8zFC?utm_source=oembed\"></iframe>",
65
+ "emotions": "melancholia, scrutiny, beauty, new, creeping, surreal, damned, longing"
66
+ },
67
+ {
68
+ "song_name": "Mine (Taylor's Version)",
69
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Mine (Taylor&apos;s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/7G0gBu6nLdhFDPRLc0HdDG?utm_source=oembed\"></iframe>",
70
+ "emotions": "joy, love, nostalgia, contentment, excitement, vulnerability, hope, happiness"
71
+ },
72
+ {
73
+ "song_name": "All Of The Girls You Loved Before",
74
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: All Of The Girls You Loved Before\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/4P9Q0GojKVXpRTJCaL3kyy?utm_source=oembed\"></iframe>",
75
+ "emotions": "loneliness, longing, nostalgia, love, gratitude, sadness, hope, affection"
76
+ },
77
+ {
78
+ "song_name": "Shake It Off",
79
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Shake It Off\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/5xTtaWoae3wi06K5WfVUUH?utm_source=oembed\"></iframe>",
80
+ "emotions": "confidence, resilience, determination, positivity, empowerment, independence, defiance, freedom"
81
+ },
82
+ {
83
+ "song_name": "Midnight Rain",
84
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Midnight Rain\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/3rWDp9tBPQR9z6U5YyRSK4?utm_source=oembed\"></iframe>",
85
+ "emotions": "comfort, pain, love, heartbreak, happiness, nostalgia, longing, regret"
86
+ },
87
+ {
88
+ "song_name": "Better Than Revenge (Taylor's Version)",
89
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Better Than Revenge (Taylor&apos;s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0NwGC0v03ysCYINtg6ns58?utm_source=oembed\"></iframe>",
90
+ "emotions": "anger, revenge, betrayal, jealousy, resentment, frustration, superiority, determination"
91
+ },
92
+ {
93
+ "song_name": "Bad Blood",
94
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Bad Blood\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/273dCMFseLcVsoSWx59IoE?utm_source=oembed\"></iframe>",
95
+ "emotions": "sadness, anger, betrayal, frustration, hurt, disappointment, regret, resentment"
96
+ },
97
+ {
98
+ "song_name": "cardigan",
99
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: cardigan\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/4R2kfaDFhslZEMJqAFNpdd?utm_source=oembed\"></iframe>",
100
+ "emotions": "joy, excitement, love, nostalgia, rebellion, vulnerability, confidence, uncertainty"
101
+ },
102
+ {
103
+ "song_name": "22 (Taylor's Version)",
104
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: 22 (Taylor&apos;s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/2T9WeqSMJJb8YBDHPYGU4p?utm_source=oembed\"></iframe>",
105
+ "emotions": "happy, free, confused, lonely, miserable, magical, excited, hopeful"
106
+ },
107
+ {
108
+ "song_name": "Back To December (Taylor's Version)",
109
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Back To December (Taylor&apos;s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/79uDOz0zuuWS7HWxzMmTa2?utm_source=oembed\"></iframe>",
110
+ "emotions": "happy, sad, nostalgic, regretful, apologetic, longing, missing, love"
111
+ },
112
+ {
113
+ "song_name": "Hits Different",
114
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Hits Different\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/3xYJScVfxByb61dYHTwiby?utm_source=oembed\"></iframe>",
115
+ "emotions": "sadness, anger, disgust, nostalgia, loneliness, heartbreak, regret, longing"
116
+ },
117
+ {
118
+ "song_name": "Delicate",
119
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Delicate\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/6NFyWDv5CjfwuzoCkw47Xf?utm_source=oembed\"></iframe>",
120
+ "emotions": "happiness, sadness, anger, love, excitement, fear, surprise, disgust"
121
+ },
122
+ {
123
+ "song_name": "When Emma Falls in Love (Taylor\u2019s Version) (From The Vault)",
124
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: When Emma Falls in Love (Taylor\u2019s Version) (From The Vault)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0zo975x58DlXbZllWvfYhg?utm_source=oembed\"></iframe>",
125
+ "emotions": "love, happiness, excitement, sadness, fear, nostalgia, longing, contentment"
126
+ },
127
+ {
128
+ "song_name": "Snow On The Beach (feat. More Lana Del Rey)",
129
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Snow On The Beach (feat. More Lana Del Rey)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/4zmKGsrXjLmljb5fTaBTot?utm_source=oembed\"></iframe>",
130
+ "emotions": "love, loneliness, sadness, longing, hope, joy, confusion, nostalgia"
131
+ },
132
+ {
133
+ "song_name": "Mean (Taylor's Version)",
134
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Mean (Taylor&apos;s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/30Y4CV7A6YqtQtTTo7Ue4j?utm_source=oembed\"></iframe>",
135
+ "emotions": "sadness, anger, frustration, helplessness, resilience, determination, hope, self-acceptance"
136
+ },
137
+ {
138
+ "song_name": "august",
139
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: august\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/3hUxzQpSfdDqwM3ZTFQY0K?utm_source=oembed\"></iframe>",
140
+ "emotions": "longing, nostalgia, regret, longing, disappointment, yearning, sorrow, unrequited love"
141
+ },
142
+ {
143
+ "song_name": "Getaway Car",
144
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Getaway Car\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0VE4kBnHJUgtMf0dy6DRmW?utm_source=oembed\"></iframe>",
145
+ "emotions": "excitement, regret, betrayal, guilt, longing, rebellion, nostalgia, escape"
146
+ },
147
+ {
148
+ "song_name": "We Are Never Ever Getting Back Together (Taylor's Version)",
149
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: We Are Never Ever Getting Back Together (Taylor&apos;s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/31CdkzHnMbvJuKZvtCQfR6?utm_source=oembed\"></iframe>",
150
+ "emotions": "love, anger, frustration, sadness, nostalgia, defiance, resolution, sarcasm"
151
+ },
152
+ {
153
+ "song_name": "All Too Well (10 Minute Version) (Taylor's Version) (From The Vault)",
154
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: All Too Well (10 Minute Version) (Taylor&apos;s Version) (From The Vault)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/5enxwA8aAbwZbf5qCHORXi?utm_source=oembed\"></iframe>",
155
+ "emotions": "nostalgia, longing, love, sadness, regret, anger, confusion, shame"
156
+ },
157
+ {
158
+ "song_name": "Bejeweled",
159
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Bejeweled\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/3qoftcUZaUOncvIYjFSPdE?utm_source=oembed\"></iframe>",
160
+ "emotions": "joy, anger, sadness, love, excitement, nostalgia, resilience, confidence"
161
+ },
162
+ {
163
+ "song_name": "Paper Rings",
164
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Paper Rings\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/4y5bvROuBDPr5fuwXbIBZR?utm_source=oembed\"></iframe>",
165
+ "emotions": "love, longing, sadness, nostalgia, hope, contentment, excitement, desire"
166
+ },
167
+ {
168
+ "song_name": "Dear John (Taylor's Version)",
169
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Dear John (Taylor&apos;s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1zU8j1x3yi9xalMF96pzKp?utm_source=oembed\"></iframe>",
170
+ "emotions": "longing, sadness, frustration, anger, confusion, regret, betrayal, optimism"
171
+ },
172
+ {
173
+ "song_name": "You're On Your Own, Kid",
174
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: You&apos;re On Your Own, Kid\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/4D7BCuvgdJlYvlX5WlN54t?utm_source=oembed\"></iframe>",
175
+ "emotions": "yearning, cool, patience, notice, friendship, smoking, touch, choose"
176
+ },
177
+ {
178
+ "song_name": "If This Was A Movie (Taylor\u2019s Version)",
179
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: If This Was A Movie (Taylor\u2019s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0kAZ3H6G9Zac4PMpmobMkj?utm_source=oembed\"></iframe>",
180
+ "emotions": "longing, nostalgia, sadness, regret, hope, yearning, heartbreak, loneliness"
181
+ },
182
+ {
183
+ "song_name": "Foolish One (Taylor\u2019s Version) (From The Vault)",
184
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Foolish One (Taylor\u2019s Version) (From The Vault)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/4s8BIKx4Zh6ryAEz8RTlaU?utm_source=oembed\"></iframe>",
185
+ "emotions": "sadness, loneliness, frustration, hopefulness, disappointment, longing, confusion, delicacy"
186
+ },
187
+ {
188
+ "song_name": "Maroon",
189
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Maroon\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/3eX0NZfLtGzoLUxPNvRfqm?utm_source=oembed\"></iframe>",
190
+ "emotions": "joy, laughter, friendship, love, nostalgia, intimacy, sadness, loss"
191
+ },
192
+ {
193
+ "song_name": "Wildest Dreams",
194
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Wildest Dreams\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/59HjlYCeBsxdI0fcm3zglw?utm_source=oembed\"></iframe>",
195
+ "emotions": "love, longing, sadness, nostalgia, desire, passion, regret, hope"
196
+ },
197
+ {
198
+ "song_name": "Look What You Made Me Do",
199
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Look What You Made Me Do\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1P17dC1amhFzptugyAO7Il?utm_source=oembed\"></iframe>",
200
+ "emotions": "anger, frustration, revenge, determination, empowerment, resilience, vindication, defiance"
201
+ },
202
+ {
203
+ "song_name": "Vigilante Shit",
204
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Vigilante Shit\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1xwAWUI6Dj0WGC3KiUPN0O?utm_source=oembed\"></iframe>",
205
+ "emotions": "anger, revenge, betrayal, sadness, jealousy, determination, empowerment, defiance"
206
+ },
207
+ {
208
+ "song_name": "willow",
209
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: willow\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0lx2cLdOt3piJbcaXIV74f?utm_source=oembed\"></iframe>",
210
+ "emotions": "joy, sadness, love, longing, excitement, uncertainty, devotion, vulnerability"
211
+ },
212
+ {
213
+ "song_name": "Lover",
214
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Lover\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1dGr1c8CrMLDpV6mPbImSI?utm_source=oembed\"></iframe>",
215
+ "emotions": "joy, love, excitement, sentimentality, longing, familiarity, happiness, intimacy"
216
+ },
217
+ {
218
+ "song_name": "Mastermind",
219
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Mastermind\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/7FmYn9e7KHMXcxqGSj9LjH?utm_source=oembed\"></iframe>",
220
+ "emotions": "excitement, happiness, love, desire, confidence, determination, vulnerability, manipulation"
221
+ },
222
+ {
223
+ "song_name": "Mr. Perfectly Fine (Taylor\u2019s Version) (From The Vault)",
224
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Mr. Perfectly Fine (Taylor\u2019s Version) (From The Vault)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/7l2tmgUhV7Y2aJHjiszifg?utm_source=oembed\"></iframe>",
225
+ "emotions": "happy, sad, heartbroken, betrayed, lonely, frustrated, resigned, disappointed"
226
+ },
227
+ {
228
+ "song_name": "Long Live (Taylor's Version)",
229
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Long Live (Taylor&apos;s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/4hqJ4bSlYJOXb6Z4SRmzxs?utm_source=oembed\"></iframe>",
230
+ "emotions": "joy, nostalgia, excitement, pride, hope, longing, triumph, rebellion"
231
+ },
232
+ {
233
+ "song_name": "The Great War",
234
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: The Great War\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/3UMrglJeju5yWyYIW6o99b?utm_source=oembed\"></iframe>",
235
+ "emotions": "sadness, anger, betrayal, longing, regret, revenge, conflict, trust"
236
+ },
237
+ {
238
+ "song_name": "Timeless (Taylor\u2019s Version) (From The Vault)",
239
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Timeless (Taylor\u2019s Version) (From The Vault)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1HCdems7PQZRj42QDWLA0A?utm_source=oembed\"></iframe>",
240
+ "emotions": "love, nostalgia, longing, happiness, sadness, regret, hope, admiration"
241
+ },
242
+ {
243
+ "song_name": "The Man",
244
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: The Man\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/3RauEVgRgj1IuWdJ9fDs70?utm_source=oembed\"></iframe>",
245
+ "emotions": "confidence, empowerment, frustration, ambition, resilience, equality, independence, defiance"
246
+ },
247
+ {
248
+ "song_name": "The Story Of Us (Taylor's Version)",
249
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: The Story Of Us (Taylor&apos;s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/6dTA6y0C2ReQklntzZl8l3?utm_source=oembed\"></iframe>",
250
+ "emotions": "love, heartbreak, confusion, loneliness, longing, frustration, sadness, despair"
251
+ },
252
+ {
253
+ "song_name": "The Way I Loved You (Taylor\u2019s Version)",
254
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: The Way I Loved You (Taylor\u2019s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/22bPsP2jCgbLUvh82U0Z3M?utm_source=oembed\"></iframe>",
255
+ "emotions": "happy, jealous, content, missing, angry, in love, broken, comfortable"
256
+ },
257
+ {
258
+ "song_name": "Question...?",
259
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Question...?\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0heeNYlwOGuUSe7TgUD27B?utm_source=oembed\"></iframe>",
260
+ "emotions": "sadness, happiness, love, longing, confusion, regret, nostalgia, yearning"
261
+ },
262
+ {
263
+ "song_name": "champagne problems",
264
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: champagne problems\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0sY6ZUTh4yoctD8VIXz339?utm_source=oembed\"></iframe>",
265
+ "emotions": "hurt, uncertainty, sadness, disappointment, regret, speechless, love, celebration"
266
+ },
267
+ {
268
+ "song_name": "Eyes Open (Taylor's Version)",
269
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Eyes Open (Taylor&apos;s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/2NIBaWXdjaTDmytjjwbEfP?utm_source=oembed\"></iframe>",
270
+ "emotions": "happiness, nostalgia, longing, fear, vulnerability, resilience, determination, vigilance"
271
+ },
272
+ {
273
+ "song_name": "Gorgeous",
274
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Gorgeous\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1ZY1PqizIl78geGM4xWlEA?utm_source=oembed\"></iframe>",
275
+ "emotions": "happy, sad, angry, excited, peaceful, nostalgic, confident, anxious"
276
+ },
277
+ {
278
+ "song_name": "Ours (Taylor\u2019s Version)",
279
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Ours (Taylor\u2019s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/3yNJkriPzWjkkDAWHIAVUq?utm_source=oembed\"></iframe>",
280
+ "emotions": "joy, sadness, love, fear, anger, excitement, nostalgia, contentment"
281
+ },
282
+ {
283
+ "song_name": "Sparks Fly (Taylor\u2019s Version)",
284
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Sparks Fly (Taylor\u2019s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/3MytWN8L7shNYzGl4tAKRp?utm_source=oembed\"></iframe>",
285
+ "emotions": "love, desire, longing, hope, uncertainty, excitement, vulnerability, attraction"
286
+ },
287
+ {
288
+ "song_name": "Sweet Nothing",
289
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Sweet Nothing\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0wavGRldH0AWyu2zvTz8zb?utm_source=oembed\"></iframe>",
290
+ "emotions": "happy, sad, nostalgic, peaceful, excited, lonely, content, hopeful"
291
+ },
292
+ {
293
+ "song_name": "Red",
294
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Red\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0cITLOYn1Sv4q27zZPqlNK?utm_source=oembed\"></iframe>",
295
+ "emotions": "passionate, sudden, bright, blue, dark, alone, regretful, loving"
296
+ },
297
+ {
298
+ "song_name": "Last Kiss (Taylor's Version)",
299
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Last Kiss (Taylor&apos;s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/59KOoHFcw5XfICnO57holu?utm_source=oembed\"></iframe>",
300
+ "emotions": "love, sadness, longing, nostalgia, regret, happiness, affection, yearning"
301
+ },
302
+ {
303
+ "song_name": "You Need To Calm Down",
304
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: You Need To Calm Down\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/6RRNNciQGZEXnqk8SQ9yv5?utm_source=oembed\"></iframe>",
305
+ "emotions": "anger, frustration, annoyance, indifference, happiness, calmness, confidence, empowerment"
306
+ },
307
+ {
308
+ "song_name": "Welcome To New York",
309
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Welcome To New York\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/6qnM0XXPZOINWA778uNqQ9?utm_source=oembed\"></iframe>",
310
+ "emotions": "joy, excitement, anticipation, curiosity, nostalgia, acceptance, empowerment, liberation"
311
+ },
312
+ {
313
+ "song_name": "Paris",
314
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Paris\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/7712gjoih4QoDbXpljEk21?utm_source=oembed\"></iframe>",
315
+ "emotions": "love, nostalgia, excitement, happiness, surprise, contentment, relaxation, anticipation"
316
+ },
317
+ {
318
+ "song_name": "New Romantics",
319
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: New Romantics\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/6rZVy6FIG7lSJQMFXHo12z?utm_source=oembed\"></iframe>",
320
+ "emotions": "bored, tired, trust, young, dumb, cry, battle, dream"
321
+ },
322
+ {
323
+ "song_name": "This Love (Taylor\u2019s Version)",
324
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: This Love (Taylor\u2019s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/4d1CG5ei1E2vGbvmgf5KKv?utm_source=oembed\"></iframe>",
325
+ "emotions": "happy, sad, angry, peaceful, excited, nostalgic, hopeful, lonely"
326
+ },
327
+ {
328
+ "song_name": "Labyrinth",
329
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Labyrinth\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0A1JLUlkZkp2EFrosoNQi0?utm_source=oembed\"></iframe>",
330
+ "emotions": "happiness, sadness, fear, love, anger, confusion, relief, frustration"
331
+ },
332
+ {
333
+ "song_name": "I Wish You Would",
334
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: I Wish You Would\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/3wmN11qXGL0HyPojvEE1D9?utm_source=oembed\"></iframe>",
335
+ "emotions": "longing, regret, nostalgia, love, sadness, hope, desire, yearning"
336
+ },
337
+ {
338
+ "song_name": "Would've, Could've, Should've",
339
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Would&apos;ve, Could&apos;ve, Should&apos;ve\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0aV5uARAknQgYhBaK944FP?utm_source=oembed\"></iframe>",
340
+ "emotions": "love, regret, fear, pain, longing, confusion, anger, vulnerability"
341
+ },
342
+ {
343
+ "song_name": "Bigger Than The Whole Sky",
344
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Bigger Than The Whole Sky\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0BiqmkasE5FdrChwKfVp8X?utm_source=oembed\"></iframe>",
345
+ "emotions": "sadness, loss, grief, longing, regret, acceptance, resignation, heartbreak"
346
+ },
347
+ {
348
+ "song_name": "the 1",
349
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: the 1\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0Jlcvv8IykzHaSmj49uNW8?utm_source=oembed\"></iframe>",
350
+ "emotions": "happiness, optimism, nostalgia, regret, longing, excitement, uncertainty, love"
351
+ },
352
+ {
353
+ "song_name": "High Infidelity",
354
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: High Infidelity\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/5kiZGSxgqPdv6rbqL9THdd?utm_source=oembed\"></iframe>",
355
+ "emotions": "sadness, anger, betrayal, confusion, remorse, loneliness, defensiveness, regret"
356
+ },
357
+ {
358
+ "song_name": "End Game",
359
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: End Game\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/2x0WlnmfG39ZuDmstl9xfX?utm_source=oembed\"></iframe>",
360
+ "emotions": "happy, confident, romantic, energetic, powerful, passionate, determined, protective"
361
+ },
362
+ {
363
+ "song_name": "Glitch",
364
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Glitch\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/6wAFvJPpTZVirBKGZ4EnMW?utm_source=oembed\"></iframe>",
365
+ "emotions": "love, longing, regret, confusion, excitement, nostalgia, hope, frustration"
366
+ },
367
+ {
368
+ "song_name": "Message In A Bottle (Taylor's Version) (From The Vault)",
369
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Message In A Bottle (Taylor&apos;s Version) (From The Vault)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/3z6XUommYDWPHeFhmhhT6j?utm_source=oembed\"></iframe>",
370
+ "emotions": "love, fear, longing, hope, terror, restlessness, happiness, sadness"
371
+ },
372
+ {
373
+ "song_name": "Dear Reader",
374
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Dear Reader\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/3QF5RsWzK1lCvf2o2cY65P?utm_source=oembed\"></iframe>",
375
+ "emotions": "happy, sad, angry, fearful, surprised, calm, confident, nostalgic"
376
+ },
377
+ {
378
+ "song_name": "Out Of The Woods",
379
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Out Of The Woods\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/5OndtwLGA9O6XHFcGm2H7r?utm_source=oembed\"></iframe>",
380
+ "emotions": "happy, nostalgic, hopeful, uncertain, romantic, playful, reflective, longing"
381
+ },
382
+ {
383
+ "song_name": "You Are In Love",
384
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: You Are In Love\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/4A2LfnduSTsE8u0ecYROxE?utm_source=oembed\"></iframe>",
385
+ "emotions": "love, longing, happiness, nostalgia, affection, tenderness, contentment, friendship"
386
+ },
387
+ {
388
+ "song_name": "my tears ricochet",
389
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: my tears ricochet\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1MgV7FIyNxIG7WzMRJV5HC?utm_source=oembed\"></iframe>",
390
+ "emotions": "sadness, anger, betrayal, heartbreak, resentment, longing, grief, revenge"
391
+ },
392
+ {
393
+ "song_name": "All Too Well",
394
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: All Too Well\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1q3RiD1tIWUpGsNFADMlvl?utm_source=oembed\"></iframe>",
395
+ "emotions": "nostalgia, love, longing, sadness, happiness, reminiscence, warmth, yearning"
396
+ },
397
+ {
398
+ "song_name": "Cornelia Street",
399
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Cornelia Street\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/12M5uqx0ZuwkpLp5rJim1a?utm_source=oembed\"></iframe>",
400
+ "emotions": "love, longing, heartbreak, nostalgia, fear, excitement, vulnerability, uncertainty"
401
+ },
402
+ {
403
+ "song_name": "invisible string",
404
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: invisible string\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/6VsvKPJ4xjVNKpI8VVZ3SV?utm_source=oembed\"></iframe>",
405
+ "emotions": "happy, sad, nostalgic, hopeful, romantic, melancholy, peaceful, excited"
406
+ },
407
+ {
408
+ "song_name": "betty",
409
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: betty\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/5kI4eCXXzyuIUXjQra0Cxi?utm_source=oembed\"></iframe>",
410
+ "emotions": "love, longing, regret, confusion, remorse, hope, nostalgia, heartbreak"
411
+ },
412
+ {
413
+ "song_name": "Better Man (Taylor's Version) (From The Vault)",
414
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Better Man (Taylor&apos;s Version) (From The Vault)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1gWRnZ52AK1ZUvpjjTteKf?utm_source=oembed\"></iframe>",
415
+ "emotions": "sadness, regret, loneliness, anger, longing, resilience, betrayal, disappointment"
416
+ },
417
+ {
418
+ "song_name": "\u2018tis the damn season",
419
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: \u2018tis the damn season\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/7dW84mWkdWE5a6lFWxJCBG?utm_source=oembed\"></iframe>",
420
+ "emotions": "longing, nostalgia, regret, acceptance, yearning, contentment, melancholy, hope"
421
+ },
422
+ {
423
+ "song_name": "Afterglow",
424
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Afterglow\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1SymEzIT3H8UZfibCs3TYi?utm_source=oembed\"></iframe>",
425
+ "emotions": "sadness, regret, guilt, apology, love, fear, hope, determination"
426
+ },
427
+ {
428
+ "song_name": "I Did Something Bad",
429
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: I Did Something Bad\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/4svZDCRz4cJoneBpjpx8DJ?utm_source=oembed\"></iframe>",
430
+ "emotions": "love, trust, easy, anger, regret, fun, guilt, satisfaction"
431
+ },
432
+ {
433
+ "song_name": "I Forgot That You Existed",
434
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: I Forgot That You Existed\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/43rA71bccXFGD4C8GOpIlN?utm_source=oembed\"></iframe>",
435
+ "emotions": "happy, sad, angry, nostalgic, peaceful, frustrated, indifferent, hopeful"
436
+ },
437
+ {
438
+ "song_name": "Call It What You Want",
439
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Call It What You Want\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1GwMQaZz6Au3QLDbjbMdme?utm_source=oembed\"></iframe>",
440
+ "emotions": "happy, sad, angry, excited, calm, nostalgic, confident, hopeful"
441
+ },
442
+ {
443
+ "song_name": "London Boy",
444
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: London Boy\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1LLXZFeAHK9R4xUramtUKw?utm_source=oembed\"></iframe>",
445
+ "emotions": "happy, nostalgic, longing, infatuated, content, excited, sentimental, playful"
446
+ },
447
+ {
448
+ "song_name": "The Very First Night (Taylor's Version) (From The Vault)",
449
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: The Very First Night (Taylor&apos;s Version) (From The Vault)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/6pYNq0ZwpPVazKzsqpf0G8?utm_source=oembed\"></iframe>",
450
+ "emotions": "love, longing, nostalgia, happiness, sadness, yearning, contentment, melancholy"
451
+ },
452
+ {
453
+ "song_name": "Daylight",
454
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Daylight\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1fzAuUVbzlhZ1lJAx9PtY6?utm_source=oembed\"></iframe>",
455
+ "emotions": "love, cruelty, regret, longing, darkness, luck, trust, morning"
456
+ },
457
+ {
458
+ "song_name": "Begin Again",
459
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Begin Again\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0L4YCNRfXAoTvdpWeH2RGj?utm_source=oembed\"></iframe>",
460
+ "emotions": "happy, sad, nostalgic, hopeful, amused, shy, surprised, content"
461
+ },
462
+ {
463
+ "song_name": "Fearless",
464
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Fearless\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/6Eu31gddWw0gOGO506pJYA?utm_source=oembed\"></iframe>",
465
+ "emotions": "happy, nostalgic, romantic, excited, confident, content, hopeful, inspired"
466
+ },
467
+ {
468
+ "song_name": "the last great american dynasty",
469
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: the last great american dynasty\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/2Eeur20xVqfUoM3Q7EFPFt?utm_source=oembed\"></iframe>",
470
+ "emotions": "excitement, melancholy, nostalgia, envy, rebellion, regret, extravagance, defiance"
471
+ },
472
+ {
473
+ "song_name": "The Archer",
474
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: The Archer\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/3pHkh7d0lzM2AldUtz2x37?utm_source=oembed\"></iframe>",
475
+ "emotions": "sadness, anger, loneliness, confusion, longing, frustration, fear, hopelessness"
476
+ },
477
+ {
478
+ "song_name": "Picture To Burn",
479
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Picture To Burn\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/32mVHdy0bi1XKgr0ajsBlG?utm_source=oembed\"></iframe>",
480
+ "emotions": "anger, frustration, revenge, sadness, resentment, determination, empowerment, defiance"
481
+ },
482
+ {
483
+ "song_name": "I Think He Knows",
484
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: I Think He Knows\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/2YWtcWi3a83pdEg3Gif4Pd?utm_source=oembed\"></iframe>",
485
+ "emotions": "excitement, desire, longing, attraction, confidence, anticipation, empowerment, uncertainty"
486
+ },
487
+ {
488
+ "song_name": "All You Had To Do Was Stay",
489
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: All You Had To Do Was Stay\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0dAb8TY433dl3ZfXYCLE19?utm_source=oembed\"></iframe>",
490
+ "emotions": "love, regret, longing, betrayal, frustration, hope, disappointment, forgiveness"
491
+ },
492
+ {
493
+ "song_name": "Babe (Taylor's Version) (From The Vault)",
494
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Babe (Taylor&apos;s Version) (From The Vault)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0v4z1tuZvn6LGknom9Qx7d?utm_source=oembed\"></iframe>",
495
+ "emotions": "regret, anger, betrayal, sadness, disappointment, resentment, frustration, heartbreak"
496
+ },
497
+ {
498
+ "song_name": "this is me trying",
499
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: this is me trying\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/7kt9e9LFSpN1zQtYEl19o1?utm_source=oembed\"></iframe>",
500
+ "emotions": "sadness, regret, loneliness, determination, resilience, frustration, hope, vulnerability"
501
+ },
502
+ {
503
+ "song_name": "gold rush",
504
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: gold rush\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/5BK0uqwY9DNfZ630STAEaq?utm_source=oembed\"></iframe>",
505
+ "emotions": "excitement, longing, disappointment, desire, admiration, confusion, nostalgia, doubt"
506
+ },
507
+ {
508
+ "song_name": "long story short",
509
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: long story short\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/2o2sgVJIgFXk8GQjWTgI6U?utm_source=oembed\"></iframe>",
510
+ "emotions": "sadness, anger, confusion, regret, love, longing, determination, peace"
511
+ },
512
+ {
513
+ "song_name": "Forever Winter (Taylor's Version) (From The Vault)",
514
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Forever Winter (Taylor&apos;s Version) (From The Vault)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0EepXu0NfnnUX8efEZR167?utm_source=oembed\"></iframe>",
515
+ "emotions": "sadness, longing, nostalgia, worry, love, hope, fear, uncertainty"
516
+ },
517
+ {
518
+ "song_name": "ivy",
519
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: ivy\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/19CSr8rwW05VJL2F91KFNK?utm_source=oembed\"></iframe>",
520
+ "emotions": "love, longing, grief, pain, longing, hope, desire, obsession"
521
+ },
522
+ {
523
+ "song_name": "marjorie",
524
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: marjorie\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/12ntTeqEeTg7GAVpe8Mhpl?utm_source=oembed\"></iframe>",
525
+ "emotions": "happiness, sadness, anger, love, fear, excitement, nostalgia, calmness"
526
+ },
527
+ {
528
+ "song_name": "mirrorball",
529
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: mirrorball\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0ZNU020wNYvgW84iljPkPP?utm_source=oembed\"></iframe>",
530
+ "emotions": "joy, love, excitement, confidence, vulnerability, sadness, reflection, self-acceptance"
531
+ },
532
+ {
533
+ "song_name": "illicit affairs",
534
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: illicit affairs\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/2NmsngXHeC1GQ9wWrzhOMf?utm_source=oembed\"></iframe>",
535
+ "emotions": "longing, secrecy, illicitness, sadness, desire, longing, hidden, clandestine"
536
+ },
537
+ {
538
+ "song_name": "tolerate it",
539
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: tolerate it\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0PurA4JVJ8YQgSVopY8fn6?utm_source=oembed\"></iframe>",
540
+ "emotions": "love, sadness, longing, frustration, resignation, adoration, disappointment, acceptance"
541
+ },
542
+ {
543
+ "song_name": "happiness",
544
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: happiness\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/73YUReisjb3A9ActdLLjJQ?utm_source=oembed\"></iframe>",
545
+ "emotions": "sadness, happiness, anger, disbelief, fear, love, hurt, hope"
546
+ },
547
+ {
548
+ "song_name": "We Were Happy (Taylor\u2019s Version) (From The Vault)",
549
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: We Were Happy (Taylor\u2019s Version) (From The Vault)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/34V9RiEPe8MNdU32qJsJa1?utm_source=oembed\"></iframe>",
550
+ "emotions": "happy, nostalgic, content, joyful, sentimental, bittersweet, longing, fulfilled"
551
+ },
552
+ {
553
+ "song_name": "Don\u2019t You (Taylor\u2019s Version) (From The Vault)",
554
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Don\u2019t You (Taylor\u2019s Version) (From The Vault)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/4uuEGH5SVuzkkSFjo2DEiY?utm_source=oembed\"></iframe>",
555
+ "emotions": "longing, sadness, resentment, nostalgia, love, heartbreak, frustration, hope"
556
+ },
557
+ {
558
+ "song_name": "dorothea",
559
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: dorothea\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/670fUmXf4KQekzbEgaXyPA?utm_source=oembed\"></iframe>",
560
+ "emotions": "love, longing, nostalgia, loneliness, admiration, regret, hope, desire"
561
+ },
562
+ {
563
+ "song_name": "cowboy like me",
564
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: cowboy like me\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1XjHRolIXL2M1EEOUsGGR4?utm_source=oembed\"></iframe>",
565
+ "emotions": "sadness, regret, caution, anticipation, longing, frustration, reflection, determination"
566
+ },
567
+ {
568
+ "song_name": "Bye Bye Baby (Taylor\u2019s Version) (From The Vault)",
569
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Bye Bye Baby (Taylor\u2019s Version) (From The Vault)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/4qUijfYU8EoIWiY6oSyrgT?utm_source=oembed\"></iframe>",
570
+ "emotions": "sadness, longing, regret, love, loss, nostalgia, disappointment, hope"
571
+ },
572
+ {
573
+ "song_name": "mad woman",
574
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: mad woman\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/2QDyYdZyhlP2fp79KZX8Bi?utm_source=oembed\"></iframe>",
575
+ "emotions": "anger, sadness, revenge, madness, frustration, determination, defiance, betrayal"
576
+ },
577
+ {
578
+ "song_name": "Our Song",
579
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Our Song\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/15DeqWWQB4dcEWzJg15VrN?utm_source=oembed\"></iframe>",
580
+ "emotions": "happy, nostalgic, romantic, playful, longing, content, reflective, excited"
581
+ },
582
+ {
583
+ "song_name": "seven",
584
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: seven\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/6KJqZcs9XDgVck7Lg9QOTC?utm_source=oembed\"></iframe>",
585
+ "emotions": "joy, fear, sadness, anger, surprise, disgust, trust, anticipation"
586
+ },
587
+ {
588
+ "song_name": "Dancing With Our Hands Tied",
589
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Dancing With Our Hands Tied\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/7I7JbDv63ZJJsSi24DyJrz?utm_source=oembed\"></iframe>",
590
+ "emotions": "love, secret, without reason, frozen, golden, close, bad feeling, sacred"
591
+ },
592
+ {
593
+ "song_name": "Death By A Thousand Cuts",
594
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Death By A Thousand Cuts\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/2dgFqt3w9xIQRjhPtwNk3D?utm_source=oembed\"></iframe>",
595
+ "emotions": "sadness, longing, heartbreak, regret, loneliness, confusion, nostalgia, resilience"
596
+ },
597
+ {
598
+ "song_name": "Fifteen",
599
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Fifteen\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/4t0OI7XrODjSkAu3bTPmWj?utm_source=oembed\"></iframe>",
600
+ "emotions": "excitement, nostalgia, anticipation, friendship, love, happiness, adolescence, freedom"
601
+ },
602
+ {
603
+ "song_name": "Tim McGraw",
604
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Tim McGraw\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/0Om9WAB5RS09L80DyOfTNa?utm_source=oembed\"></iframe>",
605
+ "emotions": "happiness, sadness, love, nostalgia, longing, regret, joy, yearning"
606
+ },
607
+ {
608
+ "song_name": "False God",
609
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: False God\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/5hQSXkFgbxjZo9uCwd11so?utm_source=oembed\"></iframe>",
610
+ "emotions": "love, longing, sadness, regret, defiance, hope, devotion, vulnerability"
611
+ },
612
+ {
613
+ "song_name": "peace",
614
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: peace\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/7MbT4I8qGntX4fMdqMQgke?utm_source=oembed\"></iframe>",
615
+ "emotions": "joy, sadness, fear, anger, love, surprise, disgust, anticipation"
616
+ },
617
+ {
618
+ "song_name": "White Horse (Taylor\u2019s Version)",
619
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: White Horse (Taylor\u2019s Version)\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/5YL553x8sHderRBDlm3NM3?utm_source=oembed\"></iframe>",
620
+ "emotions": "love, sadness, anger, betrayal, disappointment, naivety, hope, regret"
621
+ },
622
+ {
623
+ "song_name": "epiphany",
624
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: epiphany\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/08fa9LFcFBTcilB3iq2e2A?utm_source=oembed\"></iframe>",
625
+ "emotions": "sadness, fear, bravery, love, empathy, exhaustion, confusion, despair"
626
+ },
627
+ {
628
+ "song_name": "It\u2019s Nice To Have A Friend",
629
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: It\u2019s Nice To Have A Friend\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/1SmiQ65iSAbPto6gPFlBYm?utm_source=oembed\"></iframe>",
630
+ "emotions": "joy, nostalgia, friendship, comfort, relaxation, happiness, contentment, affection"
631
+ },
632
+ {
633
+ "song_name": "hoax",
634
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: hoax\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/6MWoRt97mnSTXZhu3ggi9C?utm_source=oembed\"></iframe>",
635
+ "emotions": "sadness, heartbreak, despair, longing, vulnerability, anger, frustration, betrayal"
636
+ },
637
+ {
638
+ "song_name": "closure",
639
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: closure\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/35rdVq36LMHQX0Suw9a6tK?utm_source=oembed\"></iframe>",
640
+ "emotions": "pain, sadness, anger, bitterness, resentment, acceptance, healing, closure"
641
+ },
642
+ {
643
+ "song_name": "Christmas Tree Farm",
644
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed: Christmas Tree Farm\" frameborder=\"0\" allowfullscreen allow=\"autoplay; clipboard-write; encrypted-media; fullscreen; picture-in-picture\" loading=\"lazy\" src=\"https://open.spotify.com/embed/track/2mvabkN1i2gLnGAPUVdwek?utm_source=oembed\"></iframe>",
645
+ "emotions": "joy, nostalgia, longing, warmth, love, excitement, peace, contentment"
646
+ }
647
+ ]
data/spotify_song_url_lyrics.json ADDED
The diff for this file is too large to render. See raw diff
 
env_vars.env ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ OPENAI_API_KEY=
2
+ ACTIVELOOP_TOKEN=
3
+ ACTIVELOOP_ORG_ID=
4
+ MODEL=
5
+ DATASET=
6
+ UPSTASH_URL=
7
+ UPSTASH_PASSWORD=
8
+ USE_STORAGE =
main.py ADDED
@@ -0,0 +1,181 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ from dotenv import load_dotenv
3
+ load_dotenv("env_vars.env")
4
+
5
+ import os
6
+ import numpy as np
7
+ import streamlit as st
8
+ from pathlib import Path
9
+ from typing import List, Tuple
10
+
11
+ from langchain.chat_models import ChatOpenAI
12
+ from langchain.embeddings.openai import OpenAIEmbeddings
13
+ from langchain.schema import Document
14
+ from langchain.chains import LLMChain
15
+ from langchain.prompts import PromptTemplate
16
+
17
+ from utils import weighted_random_sample, load_db
18
+ from redis_storage import RedisStorage, UserInput
19
+
20
+ Matches = List[Tuple[Document, float]] # Custom type to save results of similarity search. Contains [(Song info, score)]
21
+ USE_STORAGE = os.environ.get("USE_STORAGE", "True").lower() in ("true", "t", "1")
22
+
23
+ @st.cache_resource
24
+ def init():
25
+ embeddings = OpenAIEmbeddings(model=os.environ['MODEL'])
26
+ dataset_path = f"hub://{os.environ['ACTIVELOOP_ORG_ID']}/{os.environ['DATASET']}"
27
+ db = load_db(
28
+ dataset_path,
29
+ embedding=embeddings,
30
+ token=os.environ["ACTIVELOOP_TOKEN"],
31
+ read_only=True,
32
+ )
33
+
34
+ storage = RedisStorage(
35
+ host=os.environ["UPSTASH_URL"], password=os.environ["UPSTASH_PASSWORD"]
36
+ )
37
+
38
+ prompt = PromptTemplate(
39
+ input_variables=["user_input"],
40
+ template=Path(f"{os.environ['ROOT']}prompts/augment_user_input.prompt").read_text(),
41
+ )
42
+
43
+ llm = ChatOpenAI(temperature=0.3)
44
+
45
+ chain = LLMChain(llm=llm, prompt=prompt)
46
+
47
+ return db, chain, storage
48
+
49
+
50
+ # Don't show the setting sidebar
51
+ if "sidebar_state" not in st.session_state:
52
+ st.session_state.sidebar_state = "collapsed"
53
+
54
+ st.set_page_config(
55
+ page_title="TaylorSwiftDJ",
56
+ page_icon="🎶",
57
+ initial_sidebar_state=st.session_state.sidebar_state
58
+ )
59
+
60
+ # Get Vector store, LLM Chain Redis storage info. This is done once and cached.
61
+ db, chain, storage = init()
62
+
63
+ st.title("TaylorSwiftDJ 🎵🌟")
64
+ st.markdown(
65
+ """
66
+ *<small>Made with [DeepLake](https://www.deeplake.ai/) 🚀 and [LangChain](https://python.langchain.com/en/latest/index.html) 🦜⛓️</small>*
67
+
68
+ 💫 Hey there Swifties! Welcome to "TaylorSwiftDJ"! 🎤🎶 This streamlit powered app recommends her iconic songs tailored to your emotions. Dance, reminisce, and embrace your feelings with every beat – because life's a melody, and Taylor's your DJ. ✨ 🌈 💖""",
69
+ unsafe_allow_html=True,
70
+ )
71
+ how_it_works = st.expander(label="How it works")
72
+
73
+ text_input = st.text_input(
74
+ label="How are you feeling today?",
75
+ placeholder="I am feeling 22!",
76
+ )
77
+
78
+ run_btn = st.button("Let's Dance! 🎶💃")
79
+ with how_it_works:
80
+ st.markdown(
81
+ """
82
+ The application follows a sequence of steps to deliver Taylor Swift songs matching the user's emotions:
83
+ - **User Input**: The application starts by collecting user's emotional state through a text input.
84
+ - **Emotion Encoding**: The user-provided emotions are then fed to a Language Model (LLM). The LLM interprets and encodes these emotions.
85
+ - **Similarity Search**: These encoded emotions are utilized to perform a similarity search within our [vector database](https://www.deeplake.ai/). This database houses ~130 Taylor Swift songs, each represented as emotional embeddings.
86
+ - **Song Selection**: From the pool of top matching songs, the application randomly selects one. The selection is weighted, giving preference to songs with higher similarity scores.
87
+ - **Song Retrieval**: The selected song's embedded player is displayed on the webpage for the user. Additionally, the LLM interpreted emotional state associated with the chosen song is displayed.
88
+ """
89
+ )
90
+
91
+
92
+ placeholder_emotions = st.empty()
93
+ placeholder = st.empty()
94
+
95
+ print(Path("./prompts/augment_user_input.prompt"))
96
+ with st.sidebar:
97
+ st.text("App settings")
98
+ filter_threshold = st.slider(
99
+ "Threshold used to filter out low scoring songs",
100
+ min_value=0.0,
101
+ max_value=1.0,
102
+ value=0.8,
103
+ )
104
+ max_number_of_songs = st.slider(
105
+ "Max number of songs to get from database",
106
+ min_value=5,
107
+ max_value=50,
108
+ value=20,
109
+ step=1,
110
+ )
111
+ number_of_displayed_songs = st.slider(
112
+ "Number of displayed songs", min_value=1, max_value=4, value=2, step=1
113
+ )
114
+
115
+
116
+ def filter_scores(matches: Matches, th: float = 0.8) -> Matches:
117
+ return [(doc, score) for (doc, score) in matches if score > th]
118
+
119
+
120
+ def normalize_scores_by_sum(matches: Matches) -> Matches:
121
+ scores = [score for _, score in matches]
122
+ tot = sum(scores)
123
+ return [(doc, (score / tot)) for doc, score in matches]
124
+
125
+
126
+ def get_song(user_input: str, k: int = 20) -> Tuple[List, List]:
127
+ emotions = chain.run(user_input=user_input)
128
+ matches = db.similarity_search_with_score(emotions, distance_metric="cos", k=k)
129
+ #[print(doc.metadata['name'], score) for doc, score in matches]
130
+ scores = filter_scores(matches, filter_threshold)
131
+
132
+ if len(scores) > 0:
133
+ docs, scores = zip(
134
+ *normalize_scores_by_sum(scores)
135
+ )
136
+ chosen_docs = weighted_random_sample(
137
+ np.array(docs), np.array(scores), n=number_of_displayed_songs
138
+ ).tolist()
139
+ else:
140
+ chosen_docs = []
141
+ return chosen_docs, emotions
142
+
143
+
144
+ def set_song(user_input:str):
145
+ if user_input == "":
146
+ user_input = "I am feeling 22!"
147
+ # take first 120 chars
148
+ user_input = user_input[:120]
149
+ docs, emotions = get_song(user_input, k=max_number_of_songs)
150
+ # print(docs)
151
+ songs = []
152
+ spotify_iframes = []
153
+
154
+ with placeholder_emotions:
155
+ st.markdown("Your emotions: `" + emotions + "`")
156
+
157
+ for doc in docs:
158
+ name = doc.metadata["name"]
159
+ songs.append(name)
160
+ spotify_iframes.append(doc.metadata["iframe"])
161
+
162
+ if len(songs) > 0:
163
+ with placeholder:
164
+ st.markdown("Your songs: ")
165
+ for idx, iframe in enumerate(spotify_iframes):
166
+ st.markdown(iframe, unsafe_allow_html=True )
167
+ else:
168
+ with placeholder:
169
+ st.markdown("No song match found with the provided threshold. Please lower it. ")
170
+
171
+ # Save user input to Redis via Upstash.
172
+ if USE_STORAGE:
173
+ ret_val = storage.store(
174
+ UserInput(text=user_input, emotions=emotions, songs=songs)
175
+ )
176
+ if not ret_val:
177
+ print("[ERROR] was not able to store user_input")
178
+
179
+
180
+ if run_btn:
181
+ set_song(text_input)
prompts/augment_user_input.prompt ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ We have a simple song retrieval system.
2
+ It accepts 8 emotions.
3
+ You are tasked to suggest between 1 and 4 emotions to match the users feelings.
4
+ Suggest more emotions for longer sentences and just one or two for small ones, trying to condense the main theme of the input
5
+
6
+ Examples:
7
+
8
+ Input: "I had a great day!"
9
+ "Joy"
10
+ Input: "I am very tired today and I am not feeling well"
11
+ "Exhaustion, Discomfort, and Fatigue"
12
+ Input: "I am in Love"
13
+ "Love"
14
+
15
+ Please, suggest emotions for input = "{user_input}", reply ONLY with a list of emotions/feelings/vibes as comma separated values
prompts/get_song_emotions.prompt ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ I am building a song retrieval system based on user mood. Given the following song lyric
2
+
3
+ {song_lyrics}
4
+
5
+ You are asked to list 8 common emotions that I will later use to retrieve the song.
6
+
7
+ Please provide only a list of comma separated emotions
redis_storage.py ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+ from typing import List, TypedDict
3
+ from uuid import uuid4
4
+
5
+ import redis
6
+
7
+
8
+ class UserInput(TypedDict):
9
+ text: str
10
+ emotions: str
11
+ songs: List[str]
12
+
13
+
14
+ class RedisStorage:
15
+ def __init__(self, host: str, password: str):
16
+ self._client = redis.Redis(host=host, port="33171", password=password, ssl=True)
17
+
18
+ def store(self, data: UserInput) -> bool:
19
+ uid = uuid4()
20
+ response = self._client.json().set(f"data:{uid}", "$", data)
21
+ return response
resources/app_screenshot.png ADDED
scripts/data_setup.py ADDED
@@ -0,0 +1,111 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ from dotenv import load_dotenv
3
+
4
+ load_dotenv(dotenv_path="../env_vars.env")
5
+
6
+ import json
7
+ from pathlib import Path
8
+ import os
9
+
10
+ from langchain.chains import LLMChain
11
+ from langchain.chat_models import ChatOpenAI
12
+ from langchain.embeddings.openai import OpenAIEmbeddings
13
+ from langchain.prompts import PromptTemplate
14
+ from langchain.vectorstores import DeepLake
15
+
16
+ from utils import clean_emotions_json
17
+
18
+
19
+ """
20
+ This function takes all the songs we have and use the lyrics to create a list of 8 emotions.
21
+ These 8 emotions will then be used for similarity matching with user prompt emotions, instead of using the entire lyrics.
22
+ """
23
+ def generate_emotion_from_lyrics(input_file:str, prompt_path:str, output_file:str, clean_output=True) -> None:
24
+ prompt = PromptTemplate(
25
+ input_variables=["song_lyrics"],
26
+ template=Path(prompt_path).read_text(),
27
+ )
28
+ llm = ChatOpenAI(temperature=0.8)
29
+ chain = LLMChain(llm=llm, prompt=prompt)
30
+
31
+ # Read file that has scraped lyrics.
32
+ with open(input_file, "r") as f:
33
+ lyrical_data = json.load(f)
34
+ '''
35
+ 'song' looks like as follows
36
+ {
37
+ "song_name": "Cruel Summer",
38
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed:...
39
+ "lyrics": "Fever dream high in the quiet of the nightYou know that I caught it Bad...
40
+ }
41
+ '''
42
+ # Collect 8 common emotions conveyed in the songs using their lyrics
43
+ emotion_data = []
44
+ for song in lyrical_data:
45
+ print(f"{song['song_name']}")
46
+ emotions = chain.run(song_lyrics=song["lyrics"])
47
+ emotion_data.append(
48
+ {
49
+ "song_name": song["song_name"],
50
+ "iframe": song["iframe"],
51
+ "emotions": emotions
52
+ })
53
+ print(emotions)
54
+
55
+ # Write to output file which will be used to store the song emotions as embeddings
56
+ with open(output_file, "w") as f:
57
+ json.dump(emotion_data, f, indent=4)
58
+
59
+ print(f"Spotify song, url and song emotions saved to {output_file}")
60
+
61
+ # Clean the generated emotions
62
+ if clean_output:
63
+ clean_emotions_json("../data/spotify_song_url_emotions.json")
64
+
65
+
66
+ def create_db(dataset_path: str, input_file: str) -> DeepLake:
67
+ with open(input_file, "r") as f:
68
+ emotion_data = json.load(f)
69
+
70
+ texts = []
71
+ metadatas = []
72
+
73
+ '''
74
+ {
75
+ "song_name": "Mastermind",
76
+ "iframe": "<iframe style=\"border-radius: 12px\" width=\"100%\" height=\"152\" title=\"Spotify Embed:
77
+ "emotions": "excitement, happiness, love, desire, confidence, determination, vulnerability, manipulation"
78
+ }
79
+ '''
80
+ for song in emotion_data:
81
+ texts.append(song["emotions"])
82
+ metadatas.append(
83
+ {
84
+ "name": song["song_name"],
85
+ "iframe": song["iframe"],
86
+ }
87
+ )
88
+
89
+ embeddings = OpenAIEmbeddings(model=os.environ['MODEL'])
90
+
91
+ db = DeepLake.from_texts(
92
+ texts, embeddings, metadatas=metadatas, dataset_path=dataset_path
93
+ )
94
+
95
+ return db
96
+
97
+ def create_emotion_embeddings(input_file:str) ->None:
98
+ dataset_path = f"hub://{os.environ['ACTIVELOOP_ORG_ID']}/{os.environ['DATASET']}"
99
+ create_db(dataset_path, input_file)
100
+
101
+ if __name__ == "__main__":
102
+
103
+ # Get top 8 emotions for each song lyric that was scraped, using GPT 3.5 Turbo
104
+ prompt_path = "../prompts/get_song_emotions.prompt"
105
+ input_file = "../data/spotify_song_url_lyrics.json"
106
+ output_file = "../data/spotify_song_url_emotions.json"
107
+ generate_emotion_from_lyrics(input_file, prompt_path, output_file, clean_output=True)
108
+
109
+ # Convert the generated emotions to embeddings (using 'text-embedding-ada-002' model) and save them in a vector store(DeepLake)
110
+ input_file = "../data/spotify_song_url_emotions.json"
111
+ create_emotion_embeddings(input_file)
scripts/scrape_lyrics_and_url.py ADDED
@@ -0,0 +1,131 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+ import requests
4
+ import json
5
+ import re
6
+
7
+ from bs4 import BeautifulSoup
8
+
9
+ '''
10
+ Get album names and id's
11
+ Get all track id's from each album id's
12
+ '''
13
+
14
+ def get_spotify_creds():
15
+ # Replace with your Spotify API credentials
16
+ CLIENT_ID = "f0035b10765a4cfebb434b857cf41300"
17
+ CLIENT_SECRET = "845e93b8a8284586bb6491d3f94be685"
18
+
19
+ # Set up the authentication headers
20
+ auth_url = "https://accounts.spotify.com/api/token"
21
+ auth_data = {
22
+ "grant_type": "client_credentials",
23
+ "client_id": CLIENT_ID,
24
+ "client_secret": CLIENT_SECRET,
25
+ }
26
+ auth_response = requests.post(auth_url, data=auth_data)
27
+ auth_response_data = auth_response.json()
28
+ access_token = auth_response_data["access_token"]
29
+
30
+ # Set up the API request headers
31
+ headers = {
32
+ "Authorization": f"Bearer {access_token}"
33
+ }
34
+ return headers
35
+
36
+
37
+ def get_genius_creds():
38
+ # Replace with your Spotify API credentials
39
+ CLIENT_ID = "r_RcNRjkfYwoqNF3lmaIqw1y4T09Z5XIVjftPLdygQJiCEoBfFNA7oXe6gqF4q6m"
40
+ CLIENT_SECRET = "W7v6s2Ka_y_4CsrZk-2pNcfXPzCWSZkzrNanXI2jLDjU8tr00ABfEIdgfHqjWGKAFapBdwMNumLc0vu9veZlvw"
41
+
42
+ # Set up the authentication headers
43
+ auth_url = "https://api.genius.com/oauth/token"
44
+ auth_data = {
45
+ "grant_type": "client_credentials",
46
+ "client_id": CLIENT_ID,
47
+ "client_secret": CLIENT_SECRET,
48
+ }
49
+ auth_response = requests.post(auth_url, data=auth_data)
50
+ auth_response_data = auth_response.json()
51
+ access_token = auth_response_data["access_token"]
52
+
53
+ # Set up the API request headers
54
+ headers = {
55
+ "Authorization": f"Bearer {access_token}"
56
+ }
57
+ return headers
58
+
59
+ def get_iframe(track_id:str) ->str:
60
+ api_url = "https://open.spotify.com/oembed?url=https%3A%2F%2Fopen.spotify.com%2Ftrack%2F"+str(track_id)
61
+ response = requests.get(api_url, headers=spotify_headers)
62
+ data = response.json()
63
+ return data['html']
64
+
65
+ def get_genius_url(track_name, artist="Taylor-swift"):
66
+ track_name = track_name.replace(" ", "-").lower()
67
+ track_name = re.sub(r'[^a-zA-Z0-9\s-]', '', track_name)
68
+ api_url = f"https://genius.com/{artist}-{track_name}-lyrics"
69
+ return api_url
70
+
71
+ def scrape_lyrics(track_name:str, artist="Taylor-swift") -> str:
72
+ api_url = get_genius_url(track_name, artist)
73
+ response = requests.get(api_url)
74
+ if response.status_code == 404:
75
+ return None
76
+ html = BeautifulSoup(response.text, 'html.parser')
77
+ lyrics = html.find('div', class_='Lyrics__Container-sc-1ynbvzw-5 Dzxov').get_text()
78
+ # remove identifiers like chorus, verse, etc
79
+ lyrics = re.sub(r'[\(\[].*?[\)\]]', '', lyrics)
80
+ # remove empty lines
81
+ lyrics = os.linesep.join([s for s in lyrics.splitlines() if s])
82
+ return lyrics
83
+
84
+ if __name__ == "__main__":
85
+ # Get all songs from 'This is Taylor Swift' playlist.
86
+ # The API returns only 50 songs per request - so we loop till we get them all
87
+ # Once we have song name, scrape song lyrics from genius-lyrics.
88
+ # TODO: Use asyncio for get_iframe() and scrape_lyrics
89
+
90
+ offset = 0
91
+ flag = True
92
+ spotify_headers = get_spotify_creds()
93
+ genius_headers = get_genius_creds()
94
+ scraped_songs = []
95
+
96
+ while flag:
97
+ api_url = "https://api.spotify.com/v1/playlists/37i9dQZF1DX5KpP2LN299J/tracks?market=US&fields=items%28track%28name%2C+id%29%29&limit=50&offset="+str(offset)
98
+ response = requests.get(api_url, headers=spotify_headers)
99
+ data = response.json()
100
+ songs = data["items"]
101
+ count = 0
102
+ for idx, song in enumerate(songs):
103
+ count += 1
104
+ song_name = song["track"]["name"]
105
+ song_id = song["track"]["id"]
106
+ iframe = get_iframe(song_id)
107
+ lyrics = scrape_lyrics(song_name)
108
+ if lyrics is None:
109
+ continue
110
+ print("Song Name:", song_name)
111
+ print("Iframe: ", iframe)
112
+ print("Lyrics: ", lyrics[0:50])
113
+ print("-" * 30)
114
+ song_details = {
115
+ "song_name": song_name,
116
+ "iframe": iframe,
117
+ "lyrics": lyrics
118
+ }
119
+ scraped_songs.append(song_details)
120
+ if count < 50 :
121
+ flag = False
122
+ offset += 50
123
+
124
+ # Save the scraped song data to a JSON file
125
+ output_file = "../data/spotify_song_url_lyrics.json"
126
+ with open(output_file, "w") as f:
127
+ json.dump(scraped_songs, f, indent=4)
128
+
129
+ print(f"Scraped song data saved to {output_file}")
130
+
131
+
utils.py ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import json
2
+ import re
3
+ import numpy as np
4
+ from langchain.vectorstores import DeepLake
5
+
6
+ # Used to clean the inconsistencies in the format in which ChatGPT generated output.
7
+ # Also convert all characters to lower case
8
+ # Usage: clean_emotions_json("../data/spotify_song_url_emotions.json")
9
+ def clean_emotions_json(filename:str) -> None:
10
+ with open(filename, "r") as f:
11
+ input_data = json.load(f)
12
+
13
+ output_data = []
14
+
15
+ # Clean emotions data - Use only lower case letters and remove any ordered listing
16
+ for song in input_data:
17
+ emotions = song['emotions']
18
+ cleaned_emotions = re.sub(r'\d+\.\s+', '', emotions.lower().replace('\n', ', '))
19
+ output_data.append(
20
+ {
21
+ "song_name": song["song_name"],
22
+ "iframe": song["iframe"],
23
+ "emotions": cleaned_emotions
24
+ })
25
+ print(emotions, "\n", cleaned_emotions)
26
+
27
+ # Write to output file which will be used to store the song emotions as embeddings
28
+ with open(filename, "w") as f:
29
+ json.dump(output_data, f, indent=4)
30
+
31
+ print(f"Spotify song, url and song emotions saved to {filename}")
32
+
33
+
34
+ # Does np.random.choice and ensures we don't have duplicates in the final result
35
+ def weighted_random_sample(items: np.array, weights: np.array, n: int) -> np.array:
36
+
37
+ indices = np.arange(len(items))
38
+ out_indices = []
39
+
40
+ for _ in range(n):
41
+ chosen_index = np.random.choice(indices, p=weights)
42
+ out_indices.append(chosen_index)
43
+
44
+ mask = indices != chosen_index
45
+ indices = indices[mask]
46
+ weights = weights[mask]
47
+
48
+ if weights.sum() != 0:
49
+ weights = weights / weights.sum()
50
+
51
+ return items[out_indices]
52
+
53
+ # Load DeepLake db
54
+ def load_db(dataset_path: str, *args, **kwargs) -> DeepLake:
55
+ db = DeepLake(dataset_path, *args, **kwargs)
56
+ return db