If an observer is placed at the two slits, the pattern on the screen will consist of two lines instead of an interference pattern. The difference with the unobserved experiment is that here the intensity is the sum of the 2 intensities instead of the squared complex modulus of the sum of the 2 probability amplitudes.
I = I1 + I2
I = |A1|^2 + |A2|^2