Following my Capstone, I wanted to see if I could host my song lyric generator as a web application. There are tons of tutorials out there; unfortunately, few of them touch on hosting large models (like the LSTM model I developed for my project) and running them on the servers directly supported by sites like Heroku and Python Anywhere. While I was able to build my app and webpage and run it successfully thanks to DigitalOcean (see the code on GitHub), the model was too large to build an application via Heroku, and large machine learning models as well as webscraping aren’t supported for standard Python Anywhere accounts. It looks like it’ll be some time before I can really share my song lyric generator with friends and other users.
However, some time ago I worked on a webscraping project where I compiled information from some DC-area venue websites and collected data on genre and related artists from Spotify’s API. I am still working on how to run the script that generates the data and have that uploaded to the remote virtual environment I’m working in on Python Anywhere automatically. In the meantime, however, with the latest batch of data (6/22/2023) I have created a Flask webapp that allows users to search for concerts based on their own preferences on price, genre, and day of the week.
The website is very bare bones for the time being, but I’m hoping to spend some time during my current job hunt brushing up and improving on my HTML and CSS skills. While that’s going on, the website will be available at https://arolson.pythonanywhere.com/.
To see the code that generated this website, again see GitHub. Hope you enjoy!