Conductivity of any material increases when the number of free charge carriers in the material increases. When a photo diode is exposed to light, additional electron hole pairs are created in the diode; thus, its conductivity increases. So to change the conductivity of a photo diode, the minimum energy of the incident radiation should be equal to the band gap of the material.
In other words,
Band gap = Energy of the incident radiation