I think that you owe it to her to be honest that the only thing standing in the way of your staying in the relationship is her weight. Without being mean, you can tell her you’re not attracted to her the way you used to be, and while you don’t want to make her feel badly, you also don’t want to lie to her. Both men and women have a responsibility to make themselves attractive to each other and take care of themselves. And while there is absolutely a lot of pressure on women to maintain a certain physique, the reality is you’re either attracted to her or you’re not, and politics or social pressures shouldn’t enter into this.
If you have this talk with her, and she starts to make some changes, like diet, nutrition and exercise, and you start to see some changes, then it will all have worked out. But if she’s defensive or defeatist you have your answer — it’s time to move on.