How much extra would it be to get the 10.5"? If it's not much more, better get the 10.5". If not, then the 9.7" is still a good upgrade.
The 9.7" Pro is still a great device, but longevity wise, its 2GB RAM will be a bottleneck in the future. The 10.5" at least have 4GB of RAM. We have seen how RAM limitations affects past iOS devices.