Making a very loud startling EEEEE noise when she does that, will help her learn not to. It gets the point across that she is causing pain, which she might not understand right now.
I did what you suggested and it worked likr a charm. It frightened her a bit too lol. She did not wanna bite for a while after that. Thank you!