I made an AI to make weird Spotify playlists.
I made an AI to make weird Spotify playlists.
So, the other day my college roomate showed me a very wierd twitter profile
and then my mind was like. I can make an AI for this and here we are.
So, I started some research and found out that the spotify API is free and I got into it.
Then I made a new app for this project:
now its done. I have developer access now lets make the AI now.
Lets first get the prompt from the user:
Now lets use GPT-2 generate text using the prompt give by the user:
Now lets clean the output we got a bit:
Now lets add Spotify and start making playlists:
Lets first get our OAuth token:
and so Spotify API is shit 🙂. So, try running the code 2 times it will work once for sure.
Now lets make a new playlist named the input given by the user:
Now lets search up the words generated by the AI and add it to the playlist
And its done now we have an AI that can generate weird Spotify playlist.
The intensity of the sentences can be changed by your will in the GPT-2 fine tuning.
If you liked the article, Follow me on medium
For the code go here:
You can't perform that action at this time. You signed in with another tab or window. You signed out in another tab or…github.com
For my day to day AIML updates follow me on twitter:
Thanks for reading😁, see ya guys next week 👋🏼