TikTok stopped allowing people to upload their own music because of copyright issues, but you can do this by adding the audio on a desktop video editor such as iMyFone Filme. Filme has its own library of music that is royalty-free but you can also import your own audio tracks to add to your video slideshow.