Look unto Jesus,share your struggle honestly with Him,don't look at your own failures,He wants us to focus on Him not us!!Ask the Holy Spirit to guide you,turn your same sex attraction from sexual intent to pure friendship intent.Its okay to say,'wow look this lady is pretty or that guy is handsome.'We can comment same sex but the fact is,we need to know who we are that God created us to be.
We need to see each other as brothers and sisters in Christ (If that person is in The Lord),freely praise others but pray strongly to go against the sexual temptation of thinking or imagining our brothers and sisters in the wrong way!!
Confusion can easily set in if we allow it.For instance,you can admire a strong faith lady,admire her beauty and all of a sudden turned those admiration into sexually imagination.The fact could be that you are longing for what others have in their faith towards God,but Satan came in and twisted it and made you feel like you are falling into same sex attraction again!
My suggestion will be: pray for that brother and sister and ask the Holy Spirit to purify your thought over him or her.Ask Holy Spirit to strengthen you in the mind,stay close daily with Jesus in prayer and in study of His words.God bless.