Holding upright for reflux, independently sleeping?

My daughter is 5 months old and we have to hold her upright after she feeds so that she does not spit up due to her reflux. During this time, she falls asleep so this is getting in the way of helping her learn how to fall asleep on her own. How have you guys worked around this?