Bear in mind if she was not eating while holding(some will while holding) she may be too weak to fend for herself if the other fish are aggressive towards her in the main tank. I would give her at least a couple of days to ensure she is active and eating and ready to go in to the main tank. I generally leave the female with her babies for about a week in her own separate tank