It’s a hard situation. Accept that it might never work between you two even if she was not in a relationship. But in a privet conversation, in a friendly manner tell her that it’s a shame that she is in a relationship because you are romantically interested in her.