So in this case don't use the internal weak up. Use 1K-4.7 K instead. Safer.

It's a long debate...'to use or not to use internal pull-up?'