Resistors amplifier circuit
For a non-inverting amplifier R4 = 0 and R5 = \$\infty\$
For a non-inverting amplifier R6 = 0 and R7 = \$\infty\$

And,

For an inverting amplifier R5 = 0 and R4 = \$\infty\$
For an-inverting amplifier R7 = 0 and R6 = \$\infty\$