The 7447 is very old TTL logic that has a 1.6mA max input current that tries to pull an input to a logic high. The resistor to ground at an input to cause a logic low input is 500 ohms (not 10k ohms) but 250 ohms is better. If the IC is a 74LS47 then the resistor to ground can be as high as 2k or 4k ohms.