Baby sleep

Bree

I am babysitting a little girl whoses mom holds her 24/7 it's not realistic for me to hold her while she sleeps and is awake for 8 hours straight. How do I get her to be okay while I use the restroom for feed my baby. Or do anything for that matter? HELP