That circuit just doesn't work.
For instance, if the voltage divider R2 D1 D2 D4 is set up properly there'll be 0.8 volts at the junction of D2 and R4, but I don't think it's possible to set it up properly.
Then, if U1C is connected as shown, and there's 0.8 volts on its input, its output will go high, and LED1 will not light.
The same problem exists, in reverse, for the "high" sensor, with the sensing level set to Vih, which is 2 volts.
The schematic below shows one way to fix the problem.
Vcc is 5 volts and is common on both circuits, as is GND.
The voltage divider sets the inputs to the unity-gain buffers at 2.0 volts and 0.8 volts, the buffers being used to prevent loading on the divider by the circuit on the right.
When its input is connected to "HI", the HI LED lights while the LO LED doesn't, and when its input is connected to "LO" the LO LED will light and the HI LED will not.