Your PSU is 220w. You may have no issues running a gt1030, but with a 1050, you may be very tight. If it's just for light gaming, then the 1030 is the option.
GTX1050 = 75w max, plus system components (maybe 100-120w) depending. So it's a fine margin.