The phrase
"to accompany the slides" means to go along with or be together with the slides. It suggests that something else, such as a spoken explanation or additional information, is being provided alongside a presentation using slides.
Full definition