If the gougères are flat after baking them it's most likely because too much liquid was added in relation to the amount of flour. Make sure to weigh the flour and the eggs to ensure you have the right amount of both ingredients.