Just being romantically attracted to her is fine btw, you can tell her that you realized you only love her romantically and not sexually.
If she hates you for that, then you didn't deserve her. If she accepts it, she accepts it and everything is fine.