On the first one, the 74ls04 (or any other inverter - I’m using a single-gate package inverter) should be powered off of the trickle (standby) 5v line, not the main 5v lines. Also, as it’s a totem-pole output device, the second 1k resistor is unnecessary.
And on both circuits, you can cut the...