Having fry can lead to over feeding and create more bio-load than your tank or filter can handle. I first would recommend checking your Ammonia, Nitrite an Nitrate levels and report the levels.
When have you done partial water changes and how much?
What kind of food are you feeding and how much?
Clean fresh conditioned/ dechlorinated same temp water to start. I use a white bucket and check thoroughly for babies before dumping.
Also recommend a 50% back to back water change after testing asap. If you also have high levels from your tests, do the first 50% pwc then the next morning or that night do another 50% then same thing the next day if levels are too high. Until levels come down to safe. If it is extremely high maybe 50%, then literally another 50%. Test again.
Feed a tiny amount of peas so that they hopefully eat it, if they eat it, a tiny bit more, and so on, too much peas can foul the water too.
As for the peas...I buy Organic frozen vegetables (just for the pets, lol). I grab 20-30 peas and cook them for a 3-5 minutes on the stove with treated tap water. Cool.
Drain all but enough water to keep them moist/plump take some out peel the hard green shell off and you will have two main parts/halves and the germ little particle sometimes falls off, save it put it back in. Put the rest in a plastic bag in the refrigerator if you need them for later.
Dice the little particles to fish mouth bite size bits and sprinkle a little into water after making sure they are hungry as in skip a day feeding or a morning feeding as you have babies. Try an additional feeding, maybe three and see how your fish are doing.