After successfully creating and deploying the model, let's now begin by building the mobile application. The application will be used to fetch and play music generated by the model created earlier.
It will have three buttons:
- Generate Music: To generate a new audio file
- Play: To play the newly generated file
- Stop: To stop the music that is playing
Also, it will have some text at the bottom to show the current status of the application.
The application will appear as follows:
The widget tree of the application would look as follows:
Let's now start building the UI of the application.