Where are you putting your fruit and veggie waste products? In a normal trash can? It helps to immediately wrap up all your scraps in newspaper. And no more bleach pouring in the drain!
Also, trash cans with fitted lids... after awhile the gnats usually lose interest.