Goldfish aren’t tropical community fish at all. I’m surprised your goldfish hasn’t eaten the guppy yet.
Also chances are the female guppy won’t give birth to the yellow guppies babies anytime soon. They hold on to the same sperm for months and have multiple batches of babies from it.