streamlit # For the web interface torch # For the VAE model (PyTorch) numpy # For numerical operations matplotlib # For visualizing piano roll data pretty_midi # For MIDI file processing and manipulation scipy # For audio file writing (converting MIDI to WAV)