my friends cat would bite onto her hand but not hard. my friend would just leave her hand still until the cat let go. She had lost her husband recently and the cat missed him terribly. she quit biting now and never bit me,only insisted on sitting in my lap all the time. i tend to keep my hands away from her anyway.
i would suggest you grab her by the back of her neck, like a mamma cat would, and hold onto her awhile. talking to her all the time then let go and pet her. hopefully she will get the idea you are head "cat" and leave you alone.
also, when bitten say "ouch, ouch, ouch" over and over. my older cat got the idea he was hurting us and never did it again.