Changing the input channels from 3 to 1

You just need to change the first layer.
There are plenty of solutions already discussed here.