Taking the male has seldom made a difference to my guppies survival after giving birth. Best things to do it you want to try to save her, is:
put her in a small bowl (12-16 oz jam jars work for me). tank water should only be about an inch deep. Have aged tap water ready. Add about 1/4 to 1/2 inch of it every half hour til water is a few inches from the top. Add a drop of tea tree oil or melafix if you have it. Get her to eat live foods, if she will. Keep the water clean but do not rinse the jar out in the sink. if you have live plants in the tank, but one in the jar(it will add beneficial bacteria to keep ammonia down, it gives her algae to snack on, and a place to feel she can hide).
If she wants to live this will all help her make it. Good luck.