Your directory needs to look like: flask_app.py script.py UPLOAD_FOLDER hmm red.hmm blue.hmm yellow.hmm templates file.html index.html static main.css _sass _style.scss _bootstrap.scss bootstrap {boostrap files} Also, you may need to install hmmer for yours to work. (brew install hmmer)