Please seek help from a trainer right away! An experienced trainer will be able to tell you how to proceed, whether the dog can stay in your home, etc. This is very important!
In the meantime, YOUR DOG MUST NOT HAVE ACCESS TO YOUR BABY. Supervised or unsupervised, I'm not convinced you are prepared to do the training necessary to allow the dog near your child on your own. Keep the dog in a separate room, use baby-gates to separate them, whatever you do, do not allow the dog access to your child until the trainer says you're ready (and a good trainer won't say so right away!) A dog that is growling at children shouldn't be close enough to kiss them or snap at them, even if you're in the room.
I also had dogs that growled at my baby once he became mobile, and we were able to successfully train them. I don't necessarily think growling means you have to get rid of the dogs, and since you didn't see the snap, I'm not completely convinced that's what happened. A lot of people will immediately say "rehome," but you have responsibilities to both the dog and the child, to see what can be done before you decide nothing can be done. My kids are now 4 and 2.5 with no issues with our dogs - the dogs had had no experience with children, and simply had to learn that the children had all sorts of rights that dogs do not. It was not easy training, because it takes dedication, but it wasn't impossible, either. In some cases, it can be done. But allowing the dog and the child to be together without the necessary steps is asking for trouble, and then you'll really regret it. And if the trainer believes the dog will forever be stressed by young children, you will need to choose the safety of your child over your dog.
Best of luck.