If it's just a few, proper watering will resolve the issue. You need to let the topsoil dry at least an inch down before watering, otherwise you're just advertising apartments to the little buggers. They don't have a long life so proper watering could take care of your issue in less than a week.
If you want to speed up the process, put a cup with a lid and straw hole in the grow area. Put about a third of a banana in the cup with the peel still intact. Push the straw hole in slightly with your pinky, creating an easy entry point, but tough escape route. A good chunk of them will fly into the cup within a day. I dont recommend keeping spoiling fruit in your tent any longer than that though. And really, this shouldnt be necessary but you will probably sleep better.