If your banana bread is really gummy, you probably overmixed the batter. Because overmixing batter results in longer gluten strands that leads to a gummy texture. You should only mix the batter until just combined, a few spots of flour are completely fine.