is that a hydro setup??? if not use Diatomacious earth on the soil and it will kill the gnats and eggs.
I see she is perking up now. :-)
If the ph of the water isn't around 6 then you can get a condition called Nutrient lockout.