Observation of gravitational effects in nonlocal nonlinearity