Comparison of direct photon production in pp collisions at s= 30.6 GeV and 53.2 GeV