How to use TM1637 on a PNP driven 7 segment display
You could try this npn transistor inverter with pull down on the base and pull up on the collector.



If you want to use the 7405 I would suggest adding pull-up and pull-down resistors.