Jazz Improvisation - music_inference_model

Help would be very appreciated.
Regarding the “music_inference_model” function.

(Solution code removed by staff)

I am pretty clueless on what to do.
If someone can please explain that would be great.
Thank you.

Please edit your post and remove the code. That breaks the course Honor Code.

I recommend you read this post for a few tips on this exercise.