Benjamin_97 :
I have a Intel Core 2 Quad Q6700 processor with 8 gb ram
Well it's an old CPU. The GTX 1050 Ti will likely be the better card for it. But you may still see the Q6700 struggle in some newer applications.
You'll also need to make sure you have a sufficient PSU (300W is recommended for a general 1050Ti rig).
Either way if you're paying to upgrade a GPU, I'd sooner opt for newer generation (1050Ti), and then upgrade around it at a future date.