Dad
female always has the X chromosome while the male has the Y and the X. So, the male would determine which gender; if he gives an x, it's a girl; a y, a boy
HOWEVER -
it is theorized that the pH of mom's reproductive tract can influence survival of certain spermatozoa over others.