Update app.py

Added wavfile data extraction function to index(); passed the centroids, frequencies and volumes arrays to the index.html file.