Provide cover / hiding places. The adults aren't smart enough not to eat the eggs / young fry.
Or remove either the adults or eggs to another tank.
You'll need a sponge filter or some type of cover over your filter intake so that the little ones don't get sucked up.
"... if any one specie does not become modified and improved in a corresponding degree with its competitors, it will soon be exterminated." - Charles Darwin