"Encouragement" is conscious and deliberate -- her family intended to encourage her. "Inspiration" is different -- maybe there was some circumstance in her family, some history of overcoming difficulty, that gave her inspiration, but it does not imply any intention on the part of the family. Without any more knowledge of the situation, I would guess that "encouragement" is more likely here.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.