I think Buffalo probably offers a better education, but PITT is very well thought of. In deciding between the two, I personally would take price and location as my primary reasons for one program over another. Considering that they are both rust belt cities (although I think Pitt has recently undergone some major improvements), I would probably weigh the cost more. If you are a resident of either state, go to that school...if not, go to the one that you feel you will be more comfortable with. I cannot speak for PITT, but at Buffalo the students are generally happy with both the school and our social lives...
Good luck with your decision, either way...you can't lose